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
doomfyre
Apprentice


Joined: 03 Jan 2002
Posts: 152
Location: USA

PostPosted: Wed Mar 27, 2002 2:59 am   

trance alias, a wrinkle
 
Hi, my apologies for a second post on this, i just wanted to insure it was read.

The alias works great of course. I had tried it that way before, only i had it as:

Name: me (&1)
Value: emote is trancing %1 times
#repeat %1 {trance}
emote is done trancing

which didnt work, presumably because of the (&1) after me. What i'm after, is preventing a typo from making me trance 99 times or something. Is there a way to limit the number that is accepted after "me" to a single digit? Or how about a maximum of 15?
Reply with quote
Troubadour
GURU


Joined: 14 Oct 2000
Posts: 556
Location: USA

PostPosted: Wed Mar 27, 2002 3:33 am   
 
you can use the %min function to limit how many times you trance.

emote is trancing %min(%1,15) times
#repeat %min(%1,15) {trance}
emote is done trancing

Troubadour
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