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


Joined: 04 Jul 2001
Posts: 32

PostPosted: Sun Jun 02, 2002 3:47 am   

Carriage Return in Triggers?
 
Can one get a trigger to recognize the following:

Scotty suddenly appears!
Scotty backstabs you!

Those line's don't really apply to my mud, but I was wondering if if there's any way to get a trigger to match that? I was thinking "Scotty suddenly appears~!%crScotty backstabs you~!" but that didn't work.
Reply with quote
dacheeba
Adept


Joined: 29 Oct 2001
Posts: 250

PostPosted: Sun Jun 02, 2002 4:04 am   
 
#TR {Scotty suddenly appears!$Scotty backstabs you!} {dostuff}

The '$' is the special patern matching character for new lines.
Reply with quote
sp000n
Novice


Joined: 04 Jul 2001
Posts: 32

PostPosted: Sun Jun 02, 2002 4:56 am   
 
Sweet!, 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