Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
twink
Newbie


Joined: 20 Apr 2006
Posts: 3

PostPosted: Thu Jun 08, 2006 8:16 am   

how to make random triggers?
 
subjects kinda screwy im sorry, anywho I basicly want zmud to have a trigger input lines from a preset line i.e "Level Up"
and then spit at the mud a randomly selected if possible if not some how pick from a list of what to do instead of just one responce "Dance"
from a list of
"Dance"
"shout W00t"
"giggle"
etc etc etc, so when the mud would send me "Level Up" zmud would send the mud one of the preset responces but not the same one over?
Reply with quote
shalimar
GURU


Joined: 04 Aug 2002
Posts: 4689
Location: Pensacola, FL, USA

PostPosted: Thu Jun 08, 2006 8:32 am   
 
#VAR leveled {dance|shout w00t|giggle}
#TR {Level Up} {%item(@leveled, %random(1, %numitems(@leveled)))}

Though this should be asked in the general folder, this one is for finished scripts, not questions.
_________________
Discord: Shalimarwildcat
Reply with quote
twink
Newbie


Joined: 20 Apr 2006
Posts: 3

PostPosted: Thu Jun 08, 2006 8:35 am   
 
ty and sorry for posting in the wrong folder
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net