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
zeiuszeppo
Novice


Joined: 22 Nov 2001
Posts: 48
Location: Italy

PostPosted: Fri Mar 01, 2002 1:53 am   

prevent trigger a line
 
Hi guys, how can I prevent zmud form
triggering a line?
ie: if a line contains che word ALFA, zmud
doesnt match any other part of the line
Reply with quote
jurz
Novice


Joined: 22 Feb 2002
Posts: 48
Location: Latvia

PostPosted: Fri Mar 01, 2002 11:28 am   
 
You can just not set trigger on this line, but
if you need compleate answer could you please
provide more details . i.e. which line you have
to trigger whant kind of trigger you have
and which line not to trigger.

-Jurz

-Jurz
Reply with quote
zeiuszeppo
Novice


Joined: 22 Nov 2001
Posts: 48
Location: Italy

PostPosted: Fri Mar 01, 2002 11:54 am   
 
trigger1:
pattern: ALFA hello guys

trigger2:
pattern hello guys

I want the pattern 2 not to be macthed if
trigger1 start.
Reply with quote
TonDiening
GURU


Joined: 26 Jul 2001
Posts: 1958
Location: Canada

PostPosted: Fri Mar 01, 2002 4:49 pm   
 
Sounds like you are being spoofed and need to resolve that.
What you need to look at are:

^ force pattern to match starting at the beginning of the line
$ force pattern to match ending at the end of the line

in your patterns.

Trigger:
Pattern: ^(%w) hello guys

That will match:
ALPHA hello guys
Bravo hello guys
Charlie hello guys
Dela hello guys


But not the following as the pattern <word> hello guys does not
start at the beggining of the line ^
Alpha says 'Bravo hello guys'
Alpha emotes Charlie hello guys



TonDiening
Beta Upgrading to 6.26
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