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


Joined: 16 Apr 2004
Posts: 2
Location: United Kingdom

PostPosted: Tue Dec 07, 2004 4:21 pm   

GAG for two or tree line trigger separated with $
 
Hi I would like to triggers this two line message

^With mounting horror, you realize that the meteorite is heading straight for $your location.

Gag it and display my own message instead.

Im doing this at the moment:

#GAG
#SA SHOT SHOT

But it only gags the first line and not the second. Anyway to gag both and just display my #SA message
_________________
Reply with quote
Danlo
Magician


Joined: 28 Nov 2003
Posts: 313
Location: Australia

PostPosted: Tue Dec 07, 2004 6:12 pm   
 
Try this. The -2 on the gag makes it gag the 2 lines:

#trigger {^With mounting horror, you realize that the meteorite is heading straight for $your location.} {#sa Shot Shot;#gag -2}
Reply with quote
nexela
Wizard


Joined: 15 Jan 2002
Posts: 1644
Location: USA

PostPosted: Wed Dec 08, 2004 1:34 pm   
 
Multi-line triggers are best handled with Conditional triggers

#TRIGGER "msgshot" {^With mounting horror, you realize that the meteorite is heading straight for} {#GAG}
#COND {your location} {#SUB {SHOT SHOT}} {within|param=1}
_________________
Zmud Support Library
Zmud Knowledge Base
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