12.11.2020, 11:00
This is not possible. You can add some extra checks so your scripts do not continue execution if a certain condition is not met.
Something like this, but you will need another script to control the bus_connected variable state.
Something like this, but you will need another script to control the bus_connected variable state.
Code:
if not storage.get('bus_connected') then
return
end
-- rest of the script