|
scottgb Newbie
Joined: 14 Jun 2003 Posts: 2
|
Posted: Mon Aug 11, 2003 10:29 pm
help, gag/capture |
I'm capturing tells and sending it to another window, then gagging the tell on the original window. No problem there, but the mud sends 1 blank line, then the tell, then another blank line.
What I can't figure out is how to gag the first blank line?
I was thinking something like:
#trigger {tells you} {#gag -1;#gag;#T+ tBlankLine;#cap tells}
That didn't work so great though. I'm pretty hopeless when it comes to trigger states, so if there's a way to do it using that I wonder if someone could explain.
TIA! |
|
|
|
MattLofton GURU
Joined: 23 Dec 2000 Posts: 4834 Location: USA
|
Posted: Tue Aug 12, 2003 1:05 am |
EDIT: create a trigger with the blank-line pattern first and put a #GAG command in that pattern's code. Next create a new state for the trigger (you can do this via the Settings Editor when you're making the trigger, or you can use the #CONDITION command in place of the #TRIGGER command) based on your tell pattern. Appropriate code goes there. Finally, repeat the blank-line pattern from the first state:
#trigger {^$} {#gag}
#condition {your tell pattern} {your code;#gag}
#condition {^$} {#gag} |
|
|
|
|
|
|
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
|
|