huz
1
Hi, I am doing my best to make a loop that sends an announce every 3 seconds (for instance).
But I can’t manage to stop the loop when it started.
Could someone tell me how to know when the loop is started and how to stop it ?
Here is a shortened version of my script.
Freddy
2
You have to define loopAnnounce outside of your function to access the stored interval. Right now, you store the reference in a local variable and throw it away as soon as the function is done.
1 Like
huz
3
Thank you for the response, could you please tell me how I could do that ?
I would really appreciate your help !
P.S : I managed to solve the problem
system
Closed
4
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.