world.DoAfterNote + Color

Posted by Webkid on Sat 22 May 2004 01:58 AM — 3 posts, 13,715 views.

USA #0
Is there any way to color a note from world.DoAfterNote?
Australia Forum Administrator #1
You can use DoAfterSpecial, which lets you send a script command after x seconds. Here is an example:


world.DoAfterSpecial 3, "ColourNote ""white"", ""red"", ""hi there""", 12


What this example does is:

  1. After 3 seconds ...
  2. Send: ColourNote "white", "red", "hi there"
  3. Send to the scripting engine (12)


In the example above the arguments to ColourNote have double-quotes around them because it is quotes within quotes.

Look at the help for DoAfterSpecial for more details.
USA #2
Awesome, thanks Nick.