The Dink Network

color changing text

May 11th 2004, 01:27 PM
girl.gif
joshriot
Peasant They/Them United States
keep it real 
whats the easiest way to make text that flashes in different colors?
May 11th 2004, 01:34 PM
girl.gif
joshriot
Peasant They/Them United States
keep it real 
OK this works, nevermind.

int &john = 0;
int &scrap;
loop:
sp_kill(&scrap,1);
&scrap = say_xy("`&john BANANAS SUCK!!",16,100);
sp_kill(&scrap,0);
&john += 1;
if (&john > 9)
{
&john = 0;
}
wait(100);
goto loop;
May 11th 2004, 01:40 PM
spike.gif
I'd rather do it with randoms, so that colours like white can be used too.

Then again, I'm not you.
May 11th 2004, 03:59 PM
girl.gif
joshriot
Peasant They/Them United States
keep it real 
well post your method and ill try it out
May 17th 2004, 03:45 AM
anon.gif
Happy-Lurker
Ghost They/Them
 
Just use a variable that holds an random value. Then use a couple of if-statements:

if (&random < 10)
{
say_stop("`&random Hello", 1)
} else
{
if (&random = 10)
{
say_stop("`%Hello", 1)
{ else
{
}
}

and go on and on and on
May 17th 2004, 06:18 AM
fairy.gif
glennglenn
Peasant He/Him Norway
GlennGlenn doesn't want a custom title. 
what is the point with it?
May 17th 2004, 03:21 PM
wizardb.gif
merlin
Peasant He/Him
 
To make text flash in different colors. Duh.
May 17th 2004, 11:12 PM
knight.gif
legolas
Peasant He/Him
 
with random is a lot of typing work...

can't you make an array with all the possible functions then use count for the number of entries in the array and use a loop like
say("`&arr[%i] hi!", 1);
May 18th 2004, 11:18 AM
girl.gif
joshriot
Peasant They/Them United States
keep it real 
no arrays.
May 18th 2004, 12:28 PM
fairy.gif
glennglenn
Peasant He/Him Norway
GlennGlenn doesn't want a custom title. 
i understood that!! DOH
May 18th 2004, 12:41 PM
knight.gif
legolas
Peasant He/Him
 
Merlin! Point for windemere!