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
➜ Lua
➜ wait.speedwalk
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| JoeScripter
(12 posts) Bio
|
Date
| Wed 08 Nov 2006 06:16 AM (UTC) Amended on Wed 08 Nov 2006 02:18 PM (UTC) by JoeScripter
|
Message
| I'm quite fond of the wait.lua code which Nick has provided. It has opened up quite a few possibilities. One thing that I would really like to see though is a way to be able to tell that a speedwalk has finished running.
I have tried making an alias at run time which in turn is passed to the speedwalking queue via the Queue function but it seems the alias name is actually sent straight to the mud instead of through the mushclient command parser.. In other words I want to try to figure out how to get my own code executing once a speedwalk has completed. I see a way to discard the speedwalking queue, but not to monitor it.
Any suggestions on this? :) | Top |
|
Posted by
| Ked
Russia (524 posts) Bio
|
Date
| Reply #1 on Wed 08 Nov 2006 10:21 AM (UTC) |
Message
| You can use the OnPluginSend callback for this. I have a plugin that uses the speedwalk queue to delay actions, and part of it is resetting the queue and resuming normal operation when a string is sent by the queue. You can dig into it for examples of some of the things that can be done:
http://www.freewebs.com/keldar/delayedaction.htm | Top |
|
Posted by
| JoeScripter
(12 posts) Bio
|
Date
| Reply #2 on Wed 08 Nov 2006 04:23 PM (UTC) |
Message
| Ah.. While looking through your code I also noticed GetQueue (duh.. how did I miss it :X) That and OnPluginSend should be perfect for what I'm looking for.
Thanks :) | 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.
13,295 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top