(04.06.2021, 08:42)admin Wrote: Like this:
Code:name = grp.find(event.dst).name
Thank you.
Any quick tip on how to replace characteres in a string? eg: "AA2233_PV" needs to be changed to "AA2233_Alarm"
Found a way, string.gsub()
How will the os.sleep() work in a event script? if timer is started, will it be reset on next event change? or will the script pause untill the first sleep command is finished?