I do use the stormfront scripts feature from time to time on my wizard:
steam script:
put prep 903
put stance offensive
put evoke %1
put stance guarded
Just be careful to ensure you do .steam <target noun>. If you forget to specify a target, you'll bolt yourself (in offensive stance)!!
Lich scripts are better because you can prevent yourself from casting incorrectly.
steam lich script:
Code:
if script.vars[1]
multifput "prep 903", "stance offensive", "evoke #{script.vars[1]}", "stance guarded"
else
multifput "stance offensive, "incant 903", "stance guarded"
end
(assuming you have "incant set 903 evoke")
This way it will only cast at a specified target if you entered one into the command line, or it will just incant if you didn't. You would just save this as like steam.lic to your lich/scripts folder and could activate it by doing ;steam cyclops or ;steam with no target specified. Then you can hotkey that to your keyboard however you like with a macro.
You can also build in a ton of checks to ensure you have enough mana like checkmana(4) to avoid accidentally frying your nerves or things that would prevent you from casting / performing the action, but at the end of the day this is more of a utility macro script than anything automated, so those checks are being done manually by the player and mostly unnecessary.