|
jackcott Newbie
Joined: 09 Nov 2009 Posts: 4
|
Posted: Mon Nov 16, 2009 8:53 am
trying to figure out how to convert a trigger... |
Hello, this is a zmud trigger that I'm trying to get to work on cmud. I'm not really sure what the compatibility report is telling me to do.... here's the trigger:
Pattern: (%d)$^(%w)
Value: #if (@checkingscript=1) {%2=%1}
the error it gives me in the report:
Does not Compile: Unmatched braces at row 0 col 27
what is unmatched? I'm just not getting it to work |
|
|
|
Rahab Wizard
Joined: 22 Mar 2007 Posts: 2320
|
Posted: Mon Nov 16, 2009 3:00 pm |
I think the message is misleading. The problem is that the compiler is confused by your expression "%2=%1". I don't think this will work in Cmud. You can't start a command line with %2, or any other function or built-in variable starting with %. The solution would be to replace this with "#var %2 %1"
|
|
|
|
|
|