|
daren Beginner
Joined: 25 Aug 2002 Posts: 13 Location: Australia
|
Posted: Sat Dec 14, 2002 5:34 am
funny trigger reaction |
Hi i'm running a trigger to catch some output and put it to another window if @writeing is true
the trigger pattern is
~(Jesters~): (%w) says, ~"(*)
the expression is
#if (@writeing) {#win jestertells ~jesters~) %1 say's %2}
second state is
(*)
#if (@writeing ) {#win jestertells %1}
(option on second state is loop lines 4)
and what happens is
mud line
(Jesters): Madasluea says, "*hug mom*."
(output from trigger)
{#win
any ideas? |
|
|
|
Kjata GURU
Joined: 10 Oct 2000 Posts: 4379 Location: USA
|
Posted: Sat Dec 14, 2002 12:44 pm |
Surround your %1's and %2's with double quotes to prevent this error. Generally, if a %n captured value contains more than one word, it should be surrounded in double quotes to prevent errors in parsing commands.
Kjata |
|
|
|
|
|