maybe you can use this kind of action:
-
Unit - issue order targeting a unit
but this action only take original spells as order argument
(so you've to make your spell by modify an existing one)
else, you've probably to use JASS
(because i don't saw anything that allowing you to ask a unit to cast à custom spell)