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. ;)
doaftercolournote and doaftercolourtell
Posted by Shadowfyr on Tue 13 Aug 2002 10:54 PM — 4 posts, 10,833 views.
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.
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.
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.
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.
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.