Thread: Random Scripts
View Single Post
  #1  
Old 05-21-2007, 05:46 PM
sam_is_me sam_is_me is offline
Registered User
Join Date: Sep 2004
Posts: 195
sam_is_me is on a distinguished road
Random Scripts

So, since I have to do this offline, its in gs1. I need to figure out how to put a random script, instead of numbers, into names. heres what I have so far:
NPC Code:

if(playerchats && strequals(#c,:choose)){
setcharprop #c,var(int(random(1,5)));
sleep1;
message ;
}



If that's wrong, sorry, I'm trying to remember what I have, and GraalEditor isnt working at the moment, but yeah, i have a working random number script tiggered by the player saying :choose..

But how do I assign numbers to NAMES, do I use flags, or what...
:]
thanks
__________________
Aim: xxspazmxx929


Reply With Quote