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


Joined: 08 Oct 2002
Posts: 34

PostPosted: Sun Aug 24, 2003 7:10 am   

Transferring text to window
 
I'm using the following trigger to transfer a chat line to a seperate window:

#tr {[CLAN]} {#win Clan}

I found this example in the help file and it does send the text to the defined Clan window. The problem is, any additional text that occurs after the trigger goes off, (i.e. look, and etc.) also gets sent to the Clan window. Is there something else I need to add to the trigger?
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: Mon Aug 25, 2003 1:14 am   
 
The problem is in the way you use the square brackets. If you want a literal match (a square bracket is just a square bracket), precede the bracket with a tilde (~), or whatever your quote character is set to:

#trigger {~[CLAN~]} {#win Clan}
Reply with quote
Aekisu
Novice


Joined: 08 Oct 2002
Posts: 34

PostPosted: Mon Aug 25, 2003 4:00 am   
 
Thanks, that took care of the problem
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