Okay, I already know that once the solution is posted I'll smack myself in the head and scream, "WHY DIDN'T I THINK OF THAT?!" But anywho...
For some reason, I'm having a ton of trouble trying to create a global variable in the script file. I'll readily admit that I'm a total newbie when it comes to using the script file, but I figured this would work:
global testvar = GetVariable("value")
or
global testvar
testvar = GetVariable("value")
I'm totally out of ideas. I'm not even sure if it's worth it. I'm wanting to save code time in triggers and aliases by not having to constantly redefine the same local variables I use in other scripts. :/
For some reason, I'm having a ton of trouble trying to create a global variable in the script file. I'll readily admit that I'm a total newbie when it comes to using the script file, but I figured this would work:
global testvar = GetVariable("value")
or
global testvar
testvar = GetVariable("value")
I'm totally out of ideas. I'm not even sure if it's worth it. I'm wanting to save code time in triggers and aliases by not having to constantly redefine the same local variables I use in other scripts. :/