waiting between commands in alias

Posted by Lokie on Tue 20 Jul 2004 02:51 PM — 2 posts, 13,915 views.

#0
is it possible to wait between commands in an alias ?

i.e.
cast armor
(wait 5 secs)cast shield
(wait 5 secs)cast light

ect......
Russia #1

world.Send "cast armor"
world.DoAfter 5, "cast shield"
world.DoAfter 10, "cast light"


Note, that world.DoAfter delays starting from the moment of execution, so those two DoAfter's above are actually executed 5 seconds from when the script is called and 10 seconds from the same point in time, giving you a delay of 5 seconds between them.