|
Zene Beginner
Joined: 10 Jul 2002 Posts: 26 Location: Canada
|
Posted: Mon Jul 15, 2002 4:05 pm
Single trigger |
Hi..i'm trying to make an alias that pauses my script..and then another one to continue..
so what my script is doing is reading from file 1 ...at line @count.. (count being the variable)
to stop the script i set the current count to 9999
and save the count before that to old_count
then to continue i put that old_count back into count..and kill something..and it starts up again
BUT..if i hit STOP (my alias name) twice ..(accidentally or what not) i can't continue again because my line had been lost..
so is there a way to dsiable this variable until i run CONT again (the other alias name).... but they are already all within a class (for that specific area i am running)
so would i have to make another separate class for the alias itself or is there a simpler way...?
Thanks |
|
|
|
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Mon Jul 15, 2002 6:43 pm |
#VAR unstopped 1
#AL STOP {#IF (@unstopped) {#VAR unstopped 0;the rest of your alias}}
#AL CONT {#IF (@unstopped) {} {#VAR unstopped 1;the rest of your alias))
LightBulb
Senior Member |
|
|
|
Zene Beginner
Joined: 10 Jul 2002 Posts: 26 Location: Canada
|
Posted: Mon Jul 15, 2002 10:55 pm |
good call! :) thanks
|
|
|
|
|
|