What's the most efficient way to make a script that detects if a project is being run online or offline? It has to be able to set a variable to 'offline' or 'online'.
I tested out RHY's way, he includes it in the stage in his Jelly project, but it didn't work. Dazachi's won't work for me. Help!
Offline
I think dividing by 0 won't work offline, but will work online. Then you can just use this: just make sure it's all in it's own script!
set [online?] to (0) set [dummy] to ((15) / (0)) set [online?] to (1)
The last block of the script won't execute if it's offline.
Offline