//Script Name: dm_set_talk_ran ////////////////////////////////////////// //Created by: Genisys / Guile //ON: 6/17/08 ///////////////////////////////////////// /* **Notes** This script goes in the Action Taken of a Converstion Line ONLY! This option allows the DM to set and override the color of a channel within the module for all text typed on that channel.. */ //////////////////////////////////////// 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(GetModule(), "TRANDOM_COLOR_1", a); SetLocalInt(GetModule(), "TRANDOM_COLOR_2", b); SetLocalInt(GetModule(), "TRANDOM_COLOR_3", c); //Tell the chat control what color to use.. SetLocalInt(GetModule(), "CHAT_COLOR", 15); }