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


Joined: 05 Jul 2006
Posts: 15

PostPosted: Fri Jul 14, 2006 7:27 pm   

Begining of line triggers
 
I have a few triggers that I would like to check and see if the triggering text is at the begining of the line.

A few wisecrackers in the game have done things like this:

A sloop You flee southward! rests on the waves here.

I have a trigger
#trigger {You flee (%w)ward} {...} which fires when I see that sloop, and it essentially breaks my mapper every time.

Plus a lot of other triggers where it would be handy to confirm begining of the line ONLY. This is just one with an easy example. Does anybody know how I could do this?
Reply with quote
saet
Apprentice


Joined: 12 Jun 2006
Posts: 106

PostPosted: Fri Jul 14, 2006 8:20 pm   
 
Just stick a ^ at the beginning

#TRIGGER {^You flee (%w)ward}.......
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