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
PHLN
Adept


Joined: 30 Dec 2001
Posts: 220
Location: Canada

PostPosted: Tue Oct 29, 2002 11:42 am   

Exact trigger...
 
Does anyone know how to set up a trigger so that it will only fire if the exact set of lines is show on the screen? On one line only? So T is here, can't have people playing around with it by using say, 'T is here' .. etc .. T is here is on new line, and nothing on that line
Reply with quote
Kjata
GURU


Joined: 10 Oct 2000
Posts: 4379
Location: USA

PostPosted: Tue Oct 29, 2002 12:52 pm   
 
You can use ^ to match the beginning of a line and $ to match the ending. Thus, your pattern would be:
^T is here$

Kjata
Reply with quote
PHLN
Adept


Joined: 30 Dec 2001
Posts: 220
Location: Canada

PostPosted: Tue Oct 29, 2002 10:14 pm   
 
Thanks
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