|
Ethershade Beginner
Joined: 17 Oct 2008 Posts: 11
|
Posted: Thu Oct 23, 2008 11:57 am
Abort Alias? |
Im wondering if there is a way to abort an alias completely, and with that id also like how to abort a loop completely, any help is very much appreciated
|
|
|
|
Taz GURU
Joined: 28 Sep 2000 Posts: 1395 Location: United Kingdom
|
Posted: Thu Oct 23, 2008 11:58 am |
#ABORT
|
|
_________________ Taz :) |
|
|
|
Zugg MASTER
Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Thu Oct 23, 2008 3:52 pm |
#ABORT can abort the alias, or also abort the entire script that called the alias. It's actually better to use #EXIT since it just exits the current alias without aborting the calling script. Or, if you are just trying to break out of a loop, use the #BREAK command.
If you are talking about how to abort an alias that is already running as a loop in the background, then it is harder. You need to identify the thread number using the #THREAD command and then use #STOP to kill the thread. In this case, it's better to modify your alias to test a variable to determine if the loop should be aborted and then you can just set that variable from another alias. |
|
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|