Quote:
Originally Posted by Crank436
I cant access the variable from the first script in the second one. How can I make this global?
|
You can find details on the method in the built-in help in script editor.
Code:
/*
After a reconnect
*/
setProperty("lastReconnectTime", Date.now(), true);
Code:
/*
Before a reconnect
*/
var lastReconnectTime = getProperty("lastReconnectTime", true);