Name IsTrigger
Type Method
Summary Tests to see if a trigger exists
Prototype long IsTrigger(BSTR TriggerName);
Description Used to test if a trigger exists.

Note that this function returns 0 if the trigger *exists*.
VBscript example
world.note world.IsTrigger ("myTrigger")
Jscript example
world.note(world.IsTrigger("myTrigger"));
PerlScript example
$world->note($world->IsTrigger("myTrigger"));
Returns eInvalidObjectLabel: The trigger name is not valid
eTriggerNotFound: The named trigger does not exist
eOK: completed OK (ie. The trigger exists)

See also ...