|
Sabb Newbie
Joined: 08 Nov 2001 Posts: 2 Location: Australia
|
Posted: Tue Dec 18, 2001 3:23 pm
trouble with tell window (Raincloud's TellWindow) |
Hey all
I have been stuffing around with RainChild's TellWindow and have been having a few problems due to the ugly way the mud I play outputs some channels. The tellwindow is working fine for the ususal tells and group tells : (i.e.)
Sabb tells you 'snorklewacker'
Sabb tells the group 'foo'
My problem is that the output on some channels looks like this:
[OOC] Sabb: I herd Goats
[OZ] Sabb: help! the turkey is after me!
For some reason I just can't get get a trigger to capture this. My attempts usually look like:
#TRIGGER {[@comms] %w: *$} {#CAP 1 Tells} {Windoze} 517
I did add the channel names 'OOC' and 'OZ' in the variable. I just have no idea why it doesn't work. Can anyone point out what I am doing wrong, and/or help me with a trigger that would work?
Cheers
Sabb |
|
|
|
Acaila Apprentice
Joined: 30 Aug 2001 Posts: 187 Location: Netherlands
|
Posted: Tue Dec 18, 2001 3:57 pm |
the [ and ] sign are used as special characters by zMUD. In your case you're telling zMUD to match the range [@comms] which of course isn't what you want it to do. Put a tilde in front of the [ and ] to tell zMUD you want it to look for those characters themselves, not the special meaning.
In short:
#TRIGGER {~[@comms~] %w: *$} {#CAP 1 Tells} {Windoze} 517
Acaila |
|
|
|
Sabb Newbie
Joined: 08 Nov 2001 Posts: 2 Location: Australia
|
Posted: Wed Dec 19, 2001 3:37 am |
Thank you, it works. I just needed to add the { } around the variable. It ended up looking like:
#TRIGGER {~[{@comms}~] %w: *$} {#CAP 1 Tells} {Windoze} 517
Cheers
Sabb |
|
|
|
|
|