03.03.2016, 13:18
Hello:
I have several scripts with relationship in a certain values.
So, I wanted to stop the execution of one of them if a certain script begin to run. The first one has a delay of 10 minutes and at last of this time it executes a sentence.
For example, I press a button to turn off a light but this going after 10 minutes. Problem If during this 10 minutes I turn on the same light - the lighit has just turning off by the firs scritp. I've tried doing enable / disable but it seems that when it is already running is not possible to stop it.
The example is simple but it is not the purpose of my program.
Thank you.
I have several scripts with relationship in a certain values.
So, I wanted to stop the execution of one of them if a certain script begin to run. The first one has a delay of 10 minutes and at last of this time it executes a sentence.
For example, I press a button to turn off a light but this going after 10 minutes. Problem If during this 10 minutes I turn on the same light - the lighit has just turning off by the firs scritp. I've tried doing enable / disable but it seems that when it is already running is not possible to stop it.
The example is simple but it is not the purpose of my program.
Thank you.