The enchant command will not work if being run from a block event. No matter which targets are used on it, enchants won't be applied to a tool while this event is running.
[media][media]Attachments
Comments 5
Resolving temporarily as Awaiting Response. Could you please attach the entire addon to this report?
This ticket will reopen automatically when you reply.
Can confirm this issue. /enchant doesn't work when used in the run_command event response even with the proper target set. I attached my "enchant_block" file above for anyone that want's to test it for themselves.