Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ MUSHclient ➜ General ➜ Timer issue executing an alias and wait

Timer issue executing an alias and wait

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Antoine   (6 posts)  Bio
Date Fri 03 Jan 2014 09:37 PM (UTC)
Message
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.
Top

Posted by Antoine   (6 posts)  Bio
Date Reply #1 on Sat 04 Jan 2014 10:09 PM (UTC)
Message
Is it possible at all?
Top

Posted by Fiendish   USA  (2,555 posts)  Bio   Global Moderator
Date Reply #2 on Sun 05 Jan 2014 01:35 AM (UTC)

Amended on Sun 05 Jan 2014 01:38 AM (UTC) by Fiendish

Message
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.

https://github.com/fiendish/aardwolfclientpackage
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


15,499 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.