Thread: Script Request:
View Single Post
Old 06-01-2003, 03:55 PM   #3
philip
Galvatron
 

Join Date: June 24, 2002
Location: aa
Posts: 2,101
nRandom = Random(4)

switch(nRandom)
{
case 0:
SpeakString("");
break;

case 1:
SpeakString("");
break;

case 2:
SpeakString("");
break;

case 3:
SpeakString("");
break;
}

edit: wrong function. you can add any number in Random(), results are the value in random - 1, so 4 would give results 0,1,2,3

[ 06-01-2003, 03:57 PM: Message edited by: philip ]
philip is offline   Reply With Quote