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
Sabb
Newbie


Joined: 08 Nov 2001
Posts: 2
Location: Australia

PostPosted: 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
Reply with quote
Acaila
Apprentice


Joined: 30 Aug 2001
Posts: 187
Location: Netherlands

PostPosted: 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
Reply with quote
Sabb
Newbie


Joined: 08 Nov 2001
Posts: 2
Location: Australia

PostPosted: 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
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