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
➜ doaftercolournote and doaftercolourtell
|
doaftercolournote and doaftercolourtell
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
| Posted by
| Shadowfyr
USA (1,792 posts) Bio
|
| Date
| Tue 13 Aug 2002 10:54 PM (UTC) |
| Message
| | Being nit picky today... lol But I think these would be nice additions, or... some means to delay the normal notes from a OnPluginInstall. I had considered setting up a little ANSI graphic to display in there, but realized that I would need to use doafter and the fact that the doafter routines don't support color options (directly) or the use of 'tell', kind of killed my idea. ;) | | Top |
|
| Posted by
| Nick Gammon
Australia (23,173 posts) Bio
Forum Administrator |
| Date
| Reply #1 on Fri 16 Aug 2002 08:59 PM (UTC) |
| Message
| Hmm - the DoAfter was supposed to simply the special, but frequently-used case, of wanting to send something to the MUD after so many seconds. It could always be done in the past using a timer, however DoAfter was a simplified interface.
I don't want to start creating lots of DoAfterXXX routines for more obscure cases, you can always do that yourself with a timer and a script. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | | Top |
|
| Posted by
| Shadowfyr
USA (1,792 posts) Bio
|
| Date
| Reply #2 on Fri 16 Aug 2002 09:44 PM (UTC) |
| Message
| | Understandable. Using a timer will work, it just means that the information won't be displayed where I expect. Then having to delay the thing in the first place just about makes it a certainty that in some similar rare case the output from a plugin install will end up in the middle of something it shouldn't be. But I suppose such instances are rare enough that it won't be a problem. | | Top |
|
| Posted by
| Nick Gammon
Australia (23,173 posts) Bio
Forum Administrator |
| Date
| Reply #3 on Fri 16 Aug 2002 10:56 PM (UTC) |
| Message
| DoAfter uses a timer, the end effect will be the same.
Also, the behaviour should be "atomic", that is, if a script fires in 5 seconds and does a whole lot of colournotes, some other timer will not go off in the middle of the script. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | | 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.
10,320 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top