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
Firey
Wanderer


Joined: 30 Dec 2003
Posts: 61
Location: Norway

PostPosted: Wed Feb 16, 2005 7:56 pm   

%random
 
I need helping to make this %random trigger.
When I see the name Bob, I want to randomly either: skip, jump, sigh or romp.
So this I have tried:

#TRIGGER {Bob} {%random (skip, jump, sigh, romp)}
#TRIGGER {Bob} {%random skip, jump, sight, romp}

but none worked, but I also want it to randomize from a stringlist..so I tried:

#TRIGGER {Bob} {%random (@emote)}
#TRIGGER {Bob} {%random (@emote)}


heh, any help please?
Reply with quote
Dharkael
Enchanter


Joined: 05 Mar 2003
Posts: 593
Location: Canada

PostPosted: Wed Feb 16, 2005 8:18 pm   
 
#TRIGGER {Bob} { %item({skip|jump|sigh|romp},%random(1,4))}

#TRIGGER {Bob} { %item(@stringlist,%random(1,%numitems(@stringlist)))}

#TRIGGER {Bob} { %item(@stringlist,%dice(1d%numitems(@stringlist)))}
_________________
-Dharkael-
"No matter how subtle the wizard, a knife between the shoulder blades will seriously cramp his style."

Last edited by Dharkael on Wed Feb 16, 2005 8:33 pm; edited 1 time in total
Reply with quote
Firey
Wanderer


Joined: 30 Dec 2003
Posts: 61
Location: Norway

PostPosted: Wed Feb 16, 2005 8:33 pm   
 
thanks
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