Triggers

Posted by Hoss on Fri 08 Oct 2004 04:42 PM — 2 posts, 11,619 views.

USA #0
I am working on a system right now an I'm using


<triggers>
  <trigger
   enabled="y"
   match="A ginseng plant (ginseng)                    20 left."
   send_to="12"
   sequence="100"
  >
  <send>World.EnableTrigger &quot;ginseng&quot; FALSE</send>
  </trigger>
</triggers>


to deactivate one of my triggers (by the eay the label determines the name of the trigger right?) and it keeps popping up the error


Error number: -2146827263
Event:        Execution of line 1 column 31
Description:  Expected end of statement
Line in error: 
World.EnableTrigger "ginseng" FALSE
Called by:    Immediate execution


any ideas why?
USA #1
You need a comma between "ginseng" and false.
And you dont actually have to type "World." (except when using execute and VB).