The Dink Network

Reply to Cute text color trick.

If you don't have an account, just leave the password field blank.
Username:
Password:
Subject:
Antispam: Enter Dink Smallwood's last name (surname) below.
Formatting: :) :( ;( :P ;) :D >( : :s :O evil cat blood
Bold font Italic font hyperlink Code tags
Message:
 
 
October 23rd 2003, 09:11 PM
wizardg.gif
Paul
Peasant He/Him United States
 
Did you know you can color text using a variable?
You can. All you hahve to do is this:
say_stop("`&mycolorHello there.", &current_sprite);

Note that I included the ` just like you normally do when you color text. All you have to do is set &mycolor to a number from 0 to 9. That means you can't do Yellow, Hot Pink/Red or White this way.

What would you use it for? Well any time you need the same text in different colors. I can imagine some type of genaric NPC script or using it in a text-entry system. Or of course just a crazy-looking, random-color blinky-text-thing.

I'm sure there's more.