So this would work in a normal zone folder....
Code:
my $var = 1;
sub EVENT_SAY {
quest::say("Var value: " . $var);
}
If I throw this same script in the global folder the script runs fine but the variable value is gone unless of course put it in the same routine. I am sure this has something to do with it actually being a global variable. But in many instances I need that global variable. Ideas?