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


Joined: 02 Dec 2001
Posts: 80
Location: Canada

PostPosted: Mon Feb 09, 2004 6:39 am   

Random Aliases <possible?>
 
If I have a list of aliases in a class folder, is it possible to randomly run those aliases?

for example:
#CLASS {SONGS}
#alias song1 {}
#alias song2 {}
#alias song3 {}
#alias song4 {}
#CLASS 0

What I'd like to do is have an alias that runs either cycles through all for or possibly randomly runs each one... using variables I could do this, but Im not sure how to do it with aliases (if it's even possible)

Another quick question, I cant get it to work for some reason but I need a trigger that detects: Winds: 16 58.98% very muddled where 16, 58.98, and very muddled will change constantly... Ive tried several different variants of wild cards, all fail... (note there are 2 spaces between the : and 16.
Reply with quote
megamog75
Enchanter


Joined: 20 Nov 2002
Posts: 627
Location: USA

PostPosted: Mon Feb 09, 2004 9:15 am   
 
#alias sg {song%random(1,4)}

#trigger {^Winds~:%s(%d)%s(%d).(%d)~%$} {it is blowing wind on you!}
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