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
➜ Trouble with this timer
It is now over 60 days since the last post. This thread is closed.
Refresh page
| Posted by
| Rjak
Romania (42 posts) Bio
|
| Date
| Sat 08 Apr 2006 12:58 AM (UTC) |
| Message
| In many of muds are "buffing bots".
I asked for Imm permission, they agreed, but they refused to put !hunger and !thirst flags on my character. They said I have to feed my "buffin whore" myself. Heh.
So basically I have to send my "bot" to eat and drink, also to sleep from time to time.
So I supplied her with money, and I made a timer (firing once at each 30 mins) who send her from a safe room to a fountain, then to a food store, then back to safe room, then put her to sleep. I made another timer to wake her up.
But I encountered a problem.
I have to go 3s 2w 2s (drink water) 3e n 3e (buy steak) (eat steak) then come back. The problem is: if I use # for speedwalk, the mud does not recognise the line and ignores it. If I send the timer to "speedwalk", it does not recognise the other commands. If I send it to "speedwalk delay" all the commands are send with the same delay... and I don't need delay between (buy steak) and (eat steak).
What can I do about this? Thank you. | | Top |
|
| Posted by
| Nick Gammon
Australia (23,165 posts) Bio
Forum Administrator |
| Date
| Reply #1 on Sat 08 Apr 2006 02:47 AM (UTC) |
| Message
| Does it really matter, if there is a slight delay between "buy steak" and "eat steak" for something that happens every 30 minutes?
Assuming that it does, you can "send to script" and use "DoAfter" to make a series of things happen with variable delays between them. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | | Top |
|
| Posted by
| Rjak
Romania (42 posts) Bio
|
| Date
| Reply #2 on Sat 08 Apr 2006 03:54 AM (UTC) |
| Message
| Well, kinda.
I know I'm paranoid, but IF someone waits for her in food shop and gives her a poisoned steak imediatelly after she buys the "good" one from shop, she will eat the poisoned one instead.
This kind of idiotic jokes are a custom in that mud. Sometimes I ask myself why do I bother staying there. I guess I'm addicted.
I will search for doAfter function, thank you Nick. | | 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.
12,189 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top