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
➜ Suggestions
➜ mapping scripting callbacks and other stuff
mapping scripting callbacks and other stuff
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| Tsunami
USA (204 posts) Bio
|
Date
| Thu 13 Jan 2005 06:56 PM (UTC) Amended on Fri 14 Jan 2005 05:00 PM (UTC) by Tsunami
|
Message
| It seems to me it would be easy enough to add some mapping scripting callbacks, a la OnPluginMappingFailDetected, etc... This would be most helpful for some more advanced mapping functions, for example delaying a certain amount of time after you hit a failure, and then continuing.
On a slightly less important note, Nick, do you think you could satisfy my perfectionist urges and include a shortcut to the MC folder in the start menu during installation?
Also, I seem to remember some vague discussion about making your stand-alone status bar have an always-on-top function. Has that happened, and if not, is there a realistic possibilty of that any time in the future? | Top |
|
Posted by
| Nick Gammon
Australia (23,140 posts) Bio
Forum Administrator |
Date
| Reply #1 on Sat 15 Jan 2005 09:52 PM (UTC) |
Message
| To detect mapping failures you really only need to add your own trigger that matches on the mapping failure message. You could use:
GetAlphaOption ("mapping_failure")
to find what that is. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
Posted by
| Tsunami
USA (204 posts) Bio
|
Date
| Reply #2 on Wed 19 Jan 2005 05:29 PM (UTC) |
Message
| ahh, but then you would not be able to pause the mapper, neh? By using a callback, you could delay until returning control to mushclient, no? | Top |
|
Posted by
| Nick Gammon
Australia (23,140 posts) Bio
Forum Administrator |
Date
| Reply #3 on Sat 22 Jan 2005 09:45 PM (UTC) |
Message
| You can't really "pause" the mapper. The mapping failure just removes the direction from the mapper. Then your trigger could open the door or whatever (adding that to the mapping list) and then retry. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
Posted by
| Tsunami
USA (204 posts) Bio
|
Date
| Reply #4 on Sun 23 Jan 2005 07:55 PM (UTC) |
Message
| You know, I got myself so totally mixed-up there. Ignore everything I said, because I just realized what an idiot I've been. Sorry! | 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.
14,109 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top