Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD General Discussion
melonpool
Newbie


Joined: 08 Jun 2007
Posts: 3

PostPosted: Fri Jun 08, 2007 1:23 pm   

Counting triggers
 
How would I set up a counting trig? I want it to go from item one, to item two, and so on and so forth. Any clues?
Reply with quote
Fang Xianfu
GURU


Joined: 26 Jan 2004
Posts: 5155
Location: United Kingdom

PostPosted: Fri Jun 08, 2007 2:07 pm   
 
We'll need more specific information on exactly what you want it to do, what commands need sending, what messages are recieved, and so on. As it stands, this is a bit vague.
_________________
Rorso's syntax colouriser.

- Happy bunny is happy! (1/25)
Reply with quote
melonpool
Newbie


Joined: 08 Jun 2007
Posts: 3

PostPosted: Fri Jun 08, 2007 2:22 pm   
 
Well, I'm looking for a trigger that when box 1 unlocks will start turning box 2 and so on and so forth so that the same trig that unlocked box 2 unlocks box 8. I'm thinking the screen would turn out something like this:

Box 1 unlocks with a clunk.
--here it picks up on 'box 1' and runs box 1+1 so that it results in:
turn box 2 to 000
--then when box 2 unlocks it starts on box 3 and so on and so forth
Reply with quote
Fang Xianfu
GURU


Joined: 26 Jan 2004
Posts: 5155
Location: United Kingdom

PostPosted: Fri Jun 08, 2007 3:09 pm   
 
How about this?

#trig {Box (%d) unlocks with a clunk.} {turn box %eval(%1+1) to 000}
_________________
Rorso's syntax colouriser.

- Happy bunny is happy! (1/25)
Reply with quote
melonpool
Newbie


Joined: 08 Jun 2007
Posts: 3

PostPosted: Fri Jun 08, 2007 5:12 pm   
 
There we go, thanks a ton!
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD 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