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


Joined: 02 Aug 2009
Posts: 9

PostPosted: Sun Aug 16, 2009 5:25 pm   

Counter
 
could anyone tell me how i make somthing to count a certain trigger?
Please Very Happy
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: Sun Aug 16, 2009 6:31 pm   
 
#trigger {testing (%d)} {#if (%1 < 10) {#add count 1;#say testing @count}}

I'm sure that without the #if it'd fall into an infinite loop, but you should get the general idea.
_________________
EDIT: I didn't like my old signature
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