 |
Takilara Apprentice

Joined: 31 Jan 2002 Posts: 129 Location: Norway
|
Posted: 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 ?
 |
|
|
 |
Emit Magician
Joined: 24 Feb 2001 Posts: 342 Location: USA
|
Posted: Wed Feb 12, 2003 5:52 pm |
you might try:
#TRIGGER {Trigger ~{?modbadge~} removed.} {#gag}
--------
moon.icebound.net:9000 |
|
|
 |
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Wed Feb 12, 2003 5:59 pm |
Just disable "Echo messages" in your Script Parser preferences.
LightBulb
Advanced Member |
|
|
 |
Takilara Apprentice

Joined: 31 Jan 2002 Posts: 129 Location: Norway
|
Posted: Wed Feb 12, 2003 6:35 pm |
ehh i can disable those, doh.
Ill get right too it, thanks :)
 |
|
|
 |
Takilara Apprentice

Joined: 31 Jan 2002 Posts: 129 Location: Norway
|
Posted: 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 ;)
 |
|
|
 |
|
|