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
➜ Trying to figure out this macro
Trying to figure out this macro
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| BabbleOn
(2 posts) Bio
|
Date
| Mon 11 Jul 2005 02:06 AM (UTC) Amended on Mon 11 Jul 2005 02:43 AM (UTC) by BabbleOn
|
Message
| Here's some sample MUD output:
>attack rat
You slash at the giant rat with your iron sword.
(5 seconds.)
>attack rat
You slash at the giant rat with your iron sword.
(7 seconds.)
A giant rat angrily bites you in the torso!
You have 72/90 HP.
>attack rat
You slash at the giant rat with your iron sword.
(5 seconds.)
What I'm trying to do is create aliases/triggers that upon catching the command 'attack X' will store X as the target, and attack it. I also need a way to catch the time left before the next action, and create a timer that will send 'attack X' when it reaches 0, while at the same time catching */90 HP and sending 'flee' instead of 'attack' when the next round comes up.
Any pointers?
| 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.
6,761 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top