sorry, I nearly forgot, with shinarae's event running (yes there really is
one), that I wanted to show you how to do that with batclient. What you are
going to need is this small script:
http://pastebin.com/raS5wVxy
Put that like every other script in your scripts folder with a name ending in
.bcs.
After you can cast spells at a position like the following:
$spell_cast cast cure light wounds at 2
ofc you can also use a command instead of the "cast cure light wounds
at" part. Just make sure that the number at the end is between 1 and 9 and
that it is really one. Using the ctrl + k window you can now bind what ever key
you want to
"$spell_cast commandtodohere 4".