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


Joined: 29 Jun 2003
Posts: 1
Location: USA

PostPosted: Sun Jun 29, 2003 10:53 pm   

Random with v. 4.62
 
I use version 4.62 and on previous versions I was able to set my triggers to randomly select from a list og responses. Does anyone know how I can do this with v. 4.62?
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: Mon Jun 30, 2003 12:12 am   
 
#CASE condition {item1} {item2} {itemN}...
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Mon Jun 30, 2003 12:19 am   
 
This is a strange question for a version which was replaced over 5 years ago (it is "a previous version"). I'm sure you have reasons for remaining with version 4.62 but you should realize that very few people will still remember what worked in that version and what's been introduced since. I'd really recommend upgrading.

My first suggestion would be to try the precise triggers you used in earlier versions. If they worked in earlier versions, there's no reason to think they wouldn't continue to work in 4.62.

Other than that, you could use the %random function with #CASE/%case (provided they're available in 4.62) or #IF/%if. You might also try using a listvariable with the desired responses and ust %item to select one at random, again provided that 4.62 allows that. I've never used or even seen 4.62, so I can't say one way or the other.
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