Timer issue executing an alias and wait

Posted by Antoine on Fri 03 Jan 2014 09:37 PM — 3 posts, 16,288 views.

#0
Hello,

I'm new to Mushclient and have looked all through the forum but I can't seem to find the answer to my question of the timer i'm trying to create.

I'm trying to create a timer that walks a set path, but when it gets to specific rooms I want it to execute an alias, the alias itself is a mob killing alias that will berserk five times, look, berserk 5 more times.

Then I want it to wait a specified number of seconds.. before continuing to the next room.

On these specific rooms I want to execute the alias.. essentially clearing a small area of monsters as it walks through.

I can't figure out how to make the timer execute the alias.

or how to implement the wait into the timer.

I'm not sure if i'm even going about what i'm trying to accomplish the right way or if there's a better way.

Could anyone shed some light on this to a newbie please.
#1
Is it possible at all?
USA Global Moderator #2
It's just code. Everything is _possible_.

Use the Execute script function to do your aliases. ( http://www.mushclient.com/scripts/doc.php?function=Execute )
Use wait.lua ( http://www.gammon.com.au/forum/?id=4956&reply=2#reply2 ) for the time delays.