About Us
Products
Purchase
Downloads
Support
Forums
Contact Us
Site
 Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD Beta Forum
Strakc
Apprentice


Joined: 31 Jan 2006
Posts: 106
Location: Virginia Beach, Virginia

PostPosted: Mon Dec 18, 2006 4:53 am   

#gag question
 
alright now I have a trigger that is two lines long, and I tried to gag it, but it only gags the last line, and I notice that while looking at the output thats suppose to be gagged, I can see the orginal line for a brief second before it switchs.
Reply with quote
shalimar
GURU


Joined: 04 Aug 2002
Posts: 4734
Location: Pensacola, FL, USA

PostPosted: Mon Dec 18, 2006 8:25 am   
 
The text has to show for the trigger to fire, sometimes you can see nanoseconds.

As for the two line bit... turn the second line into a state within params 1... then you have #GAG in the trigger and in the state for the second line
_________________
Discord: Shalimarwildcat
Reply with quote
Fang Xianfu
GURU


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

PostPosted: Thu Dec 21, 2006 4:38 am   
 
If you're using the {Line1$line2$} syntax you could also just use "#gag;#gag" or "#gag -1;#gag" in the pattern. If you need to gag more than two lines, use "#gag -2;#gag" or whatever.
_________________
Rorso's syntax colouriser.

- Happy bunny is happy! (1/25)
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD Beta Forum 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