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
Takilara
Apprentice


Joined: 31 Jan 2002
Posts: 129
Location: Norway

PostPosted: Wed Feb 12, 2003 1:51 pm   

Pattern question
 
i wanna make a pattern that reacts to the following line:
Trigger {@modbadge} removed.

(note i do not want it to react to the value inside the modbadge, (i have alarms using variables as the time, and if i #untrigger the alarm i will get the above line, however i wanna gag it.
i know i can escape the { and } chars by using ~{ and ~} in the pattern, but how do i prevent the @modbadge from expanding in the pattern, (~@modbadge sure didnt work)
Or another solution, can the #untrigger @modbadge command be piped to /dev/null or something ?

Reply with quote
Emit
Magician


Joined: 24 Feb 2001
Posts: 342
Location: USA

PostPosted: Wed Feb 12, 2003 5:52 pm   
 
you might try:

#TRIGGER {Trigger ~{?modbadge~} removed.} {#gag}

--------

moon.icebound.net:9000
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Wed Feb 12, 2003 5:59 pm   
 
Just disable "Echo messages" in your Script Parser preferences.

LightBulb
Advanced Member
Reply with quote
Takilara
Apprentice


Joined: 31 Jan 2002
Posts: 129
Location: Norway

PostPosted: Wed Feb 12, 2003 6:35 pm   
 
ehh i can disable those, doh.
Ill get right too it, thanks :)

Reply with quote
Takilara
Apprentice


Joined: 31 Jan 2002
Posts: 129
Location: Norway

PostPosted: Wed Feb 12, 2003 7:14 pm   
 
Hmm i disabled the messages, but then i couldnt type #var and see my variables or #alarm to see my alarms, solved it by using (%*) in the pattern instead, i dont have to see any of the alarms i disable ;)

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