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


Joined: 01 Sep 2002
Posts: 15
Location: Miami

PostPosted: Thu Aug 05, 2004 10:02 pm   

Dont know how to name so I am going with "Trigger Quest
 
Ok, sorry for the weird subject, anyway this is my problem, I have triggers for my channels to be sent to another window, each having their own window, but I am tired of when it is echoed on the mud "nexus oocs 'calmity says to nexus 'this is just wrong'' it comes out on both windows, I also have this problem with my hunger trigger, people like to mess around and force the trigers to go off, is there a way to make it so that it only does it when its supposed to instead of always doing it no matter what?
Reply with quote
mr_kent
Enchanter


Joined: 10 Oct 2000
Posts: 698

PostPosted: Fri Aug 06, 2004 5:18 am   
 
If I understand what you're asking correctly, then you can use #GAG for the first part.

(example for use in settings editor)
Pattern: ^%w oocs *$
Value: #CAPTURE other_window;#GAG

To prevent people from spoofing your triggers, use anchors like '^' to force a match at the beginning of the line and/or '$' to force a match at the end.

For more information on trigger matching, check out References, Pattern Matching under Help Contents
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