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
wth
Novice


Joined: 14 Nov 2001
Posts: 37
Location: Poland

PostPosted: Wed Jun 26, 2002 11:20 pm   

#COND question
 

Hello

For output:
--------

line1
line2
...
lineX
-------

I tried to make trigger which will execute for each lineX (lines between 1st --------- and 2nd --------------).
Is there way to make this using #COND (with loopexp??? trigger state condition?)

Now I'm enabling and disabling trigger. But in this case I have to have 2 triggers and I wish to be able to make this in one trigger using #COND command.

Rgds,


--
Waldek
There are no mistakes, just learning experience
Reply with quote
Kjata
GURU


Joined: 10 Oct 2000
Posts: 4379
Location: USA

PostPosted: Thu Jun 27, 2002 12:09 am   
 
This question should really go into the beta forum since it deals with the beat version. Anyway, for what you want to do, you can use a manual state. Example:
#TRIGGER MyTrigger {--------} {#TEMP {--------} {#STATE MyTrigger 0}}
#COND {(*)} {} {manual}

In 6.16, you can do the same thing with:
#TRIGGER {--------} {#T+ MyTrigger;#TEMP {--------} {#T- MyTrigger}}
#TRIGGER MyTrigger {(*)} {}

Kjata
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