|
Aekisu Novice
Joined: 08 Oct 2002 Posts: 34
|
Posted: 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? |
|
|
|
MattLofton GURU
Joined: 23 Dec 2000 Posts: 4834 Location: USA
|
Posted: 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} |
|
|
|
Aekisu Novice
Joined: 08 Oct 2002 Posts: 34
|
Posted: Mon Aug 25, 2003 4:00 am |
Thanks, that took care of the problem
|
|
|
|
|
|