My Send to: Script trigger is killing my Send to: Execute triggers

Posted by Weston on Tue 06 Jul 2004 02:12 PM — 3 posts, 13,978 views.

#0
Whenever I try to use a Send to: Script trigger it fires the script, and the commands in the script execute as they're suppose to, but after that happens, all of my Send to: Execute triggers stop working.

The Send to: World triggers do continue to work.

If I remove the script, and the trigger (or just the trigger if the script is in the 'Send' box), or if I go back to an earlier MCL file the Send to: Execute triggers work again.
Australia Forum Administrator #1
Hmmm - I can't quite reproduce that. Maybe somehow you are nesting script execution too far. In the "send to script" try displaying this:

world.Note "Execution depth = " & GetInfo (230)

If the nested execution depth exceeds 20 the execute will not be done.
#2
When I tried that I got

Execution depth = 0

Which seems odd, but it's less than 20 and so I'm guessing it's a good number.


I think the problem was actually the text that the trigger was suppose to match and not that it was a Send to: Script trigger. This was my first Send to: Script trigger and I believe that I jumped to conclusions!

Now that I checked the 'Keep Evaluating' box, it SEEMS to be working, for now at least.

Apologies if that really was the problem, and thanks for your post.