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
Garum
Newbie


Joined: 18 Oct 2000
Posts: 7
Location: USA

PostPosted: Wed Feb 06, 2002 2:00 am   

Randomized trigger
 
Ok.. i have a question
here's my pattern :
You feel a rush as your investment pays off.

what i want to do is for it to group-say a random item every time that happens.. random between these three

gs The market figures are in and showing a nice return on my investment!

gs My mana and health has been supplemented by the magical stock market! :)

gs Mmmm... health and mana....Long-Term investments are the way to go!


Andrew Hall
Reply with quote
TonDiening
GURU


Joined: 26 Jul 2001
Posts: 1958
Location: Canada

PostPosted: Wed Feb 06, 2002 2:04 am   
 
Very similar to this topic.

Basically you want to employ the #CASE
command.

So:

#TRIGGER {You feel a rush as your investment pays off.} {#CASE %random {gs The market figures are in and showing a nice return on my investment!} {gs My mana and health has been supplemented by the magical stock market! ~:~)} {gs Mmmm... health and mana....Long-Term investments are the way to go~!}}



TonDiening
Uses 6.16
Reply with quote
Garum
Newbie


Joined: 18 Oct 2000
Posts: 7
Location: USA

PostPosted: Wed Feb 06, 2002 2:14 am   
 
heh.. that has to be the coolest command/function ever :P

Andrew Hall
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