Changed folder name.

Changed folder name.
This commit is contained in:
Jaysyn904
2022-10-07 21:08:37 -04:00
parent 1c33c2843e
commit 8d97886c3f
7060 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,33 @@
//Script Name: setrandomcolor
//////////////////////////////////////////
//Created by: Genisys / Guile
//ON: 6/17/08
/////////////////////////////////////////
/* **Notes**
This script goes in the Action Taken
of a Converstion Line ONLY! It will
colorize ALL Of the items in a PCs
inventory a random color, each item a
different color!
*/
////////////////////////////////////////
void main()
{
object oPC = GetPCSpeaker();
int a;
int b;
int c;
a = Random(255); b = Random(255); c = Random(255);
//Store the random color code on them
SetLocalInt(oPC, "RANDOM_COLOR_1", a);
SetLocalInt(oPC, "RANDOM_COLOR_2", b);
SetLocalInt(oPC, "RANDOM_COLOR_3", c);
//Tell the chat control what color to use..
SetLocalInt(oPC, "CHAT_COLOR", 15);
}