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
➜ Lua
➜ How to terminate a running script
|
How to terminate a running script
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
| Posted by
| Whininguser
Canada (30 posts) Bio
|
| Date
| Fri 29 Oct 2010 06:45 AM (UTC) Amended on Fri 29 Oct 2010 06:46 AM (UTC) by Whininguser
|
| Message
| The only way I know is to close Mushclient. Is there a function I can use to terminate a running script (like an infinite loop or a series of commands)? Thanks.
| | Top |
|
| Posted by
| Twisol
USA (2,257 posts) Bio
|
| Date
| Reply #1 on Fri 29 Oct 2010 06:50 AM (UTC) |
| Message
| | MUSHclient is entirely single-threaded, with some minor exceptions. When a script executes, the client must wait for it to end before it can continue. This means that the GUI, too, is tied up. There's no way to get a message in to say "Hey, kill the script, it's been going way, way too long." |
'Soludra' on Achaea
Blog: http://jonathan.com/
GitHub: http://github.com/Twisol | | Top |
|
| Posted by
| Nick Gammon
Australia (23,173 posts) Bio
Forum Administrator |
| Date
| Reply #2 on Fri 29 Oct 2010 08:31 AM (UTC) |
| Message
| It can be done reasonably well:
|
- Nick Gammon
www.gammon.com.au, www.mushclient.com | | 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.
17,743 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top