Johnxtrem Posted June 1, 2017 Posted June 1, 2017 (edited) Hey, are there such things as global (shared) variables that all scripts can access? Thanks! Edited June 1, 2017 by Johnxtrem
Eagle Scripts Posted June 1, 2017 Posted June 1, 2017 (edited) 10 minutes ago, Johnxtrem said: Hey, are there such things as global variables that all scripts can access? Thanks! Not that I am aware of. If you've got some information / variables you'd like multiple scripts to be able to read, try looking into file reading and writing. You'd then let the scripts read the data from such a textfile on start. I'm sure you'll be able to store information in there Edited June 1, 2017 by Eagle Scripts
Johnxtrem Posted June 1, 2017 Author Posted June 1, 2017 (edited) 24 minutes ago, Eagle Scripts said: Not that I am aware of. If you've got some information / variables you'd like multiple scripts to be able to read, try looking into file reading and writing. You'd then let the scripts read the data from such a textfile on start. I'm sure you'll be able to store information in there Before doing anything I wanted to know this, thanks Edited June 1, 2017 by Johnxtrem
dmmslaver Posted June 1, 2017 Posted June 1, 2017 1 hour ago, Johnxtrem said: Before doing anything I wanted to know this, thanks Well when you try to open a file its going to throw exception afaik
Eagle Scripts Posted June 2, 2017 Posted June 2, 2017 5 hours ago, dmmslaver said: Well when you try to open a file its going to throw exception afaik You can only read/write files in the OSBot Data folder