Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ MUSHclient ➜ General ➜ My Send to: Script trigger is killing my Send to: Execute triggers

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

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Weston   (28 posts)  Bio
Date Tue 06 Jul 2004 02:12 PM (UTC)
Message
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.
Top

Posted by Nick Gammon   Australia  (23,133 posts)  Bio   Forum Administrator
Date Reply #1 on Tue 06 Jul 2004 11:25 PM (UTC)
Message
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.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Weston   (28 posts)  Bio
Date Reply #2 on Wed 07 Jul 2004 08:52 AM (UTC)
Message
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.
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


10,486 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.