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
Zuggerton
Newbie


Joined: 24 Jul 2002
Posts: 2

PostPosted: Wed Jul 24, 2002 5:28 pm   

Force Returns
 
is there any way in zmud to make a trigger that would automattically wrap a certain text and only that text ie
when (this is just an example)
Jim tells you: Your already here
rathan than that display it as
Jim tells you:
Your already here
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Wed Jul 24, 2002 5:53 pm   
 
#TR {^Jim tells you: Your already here$} {#GAG;#SAY {Jim tells you:};#SAY {Your already here}}

LightBulb
Senior Member
Reply with quote
Zuggerton
Newbie


Joined: 24 Jul 2002
Posts: 2

PostPosted: Wed Jul 24, 2002 7:00 pm   
 
hey thanks , only problem iwth doing it that way is that there is a command in the second half of text and the first half that sets off a trigger, so it get double triggers
Reply with quote
Charbal
GURU


Joined: 15 Jun 2001
Posts: 654
Location: USA

PostPosted: Wed Jul 24, 2002 9:46 pm   
 
This will fix the command problem:

#trigger {^(%w) tells you: (%$*)$} {#sub {%1 tells you:%{cr}%2}}



 - Charbal
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Thu Jul 25, 2002 2:53 pm   
 
Oops, left out the TR after # (it's fixed now).
#TR {^Jim tells you: Your already here$} {#GAG;#SAY {Jim tells you:};#SAY {Your already here}}
Works fine for me. If you've got other triggers that get set off by this, that's a separate problem.

LightBulb
Senior Member
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