I think, there's already a thread opened since long ago here. Maybe? But, I just wanted to ask it to be sure more users are in the same situation.
I opened this thread to ask about who has experienced the Global variables from scripts being loosing its values, randomly. The bug seems to appear when the user exists from Winbox, after creating and running the script manually or during background execution (to be determined). So, after loggin again, the values of Global vars are unset. The only possible solution or workaround is to save these values in a TXT file, and call them back from within the script.
Personally, I didn't, at least, for now. I have the hAP ac2, with latest software package (ROS 7.5) and latest fw.
But, I have a friend of mine and some other users from another Spanish mikrotik forum that report the same.
RouterBOARD and Software with the "bug":
- hAP ac2, and some other models.
- RouterOS 7.5, and below (6.xx included)
Thank you.