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
twhiting9275
Beginner


Joined: 24 Oct 2002
Posts: 13
Location: USA

PostPosted: Mon Apr 25, 2005 7:55 pm   

Little help needed on a trigger script
 
Hi, guys
working on a trigger script to keep things somewhat organized, not sure if this is even possible, but I'll give it a whirl here.
the script (quite simple):
Quote:

#TRIGGER {^<Wiznet>} {#GAG;#CAP Wiznet}

Now, because of connection problems (presumably because of "idle" connections), I'm forced to use wiznet ticks to keep my connection open
which can be quite spammy to say the least. The problem is that this shows up in the Wiznet window. of course, I can #gag it in the wiznet window, but that doesn't save appropriately (has to be redone every time I start Zmud).
the gag looks something like
Quote:

#TRIGGER {<Wiznet> TICK! } {#GAG}

While this works, effectively enough I'd like to find a way to gag that specific line BEFORE the rest of the wiznet data gets sent across to the wiznet window.

Is this even possible?
Reply with quote
Maelstrom
Apprentice


Joined: 10 Feb 2005
Posts: 158

PostPosted: Mon Apr 25, 2005 8:29 pm   
 
Sure thing:

Quote:
#TRIGGER {^<Wiznet> (*)} {#GAG;#IF !(%match(%1,"TICK!")) {#CAP Wiznet}}
Reply with quote
twhiting9275
Beginner


Joined: 24 Oct 2002
Posts: 13
Location: USA

PostPosted: Mon Apr 25, 2005 8:40 pm   
 
Nope, doesn't gag anything, or, for that matter forward anything to the Wiznet window
{edit}
Nevermind, I'll take my stupid pill for the day
Thanks, that was just what I was lookin for :) Apparently, the first try didn't work because of the <wiznet> stuff, shoulda made that <<wiznet before trying that directly from the game instead of the trigger editor :)
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