Zordana
06-07-2010, 11:31 PM
hi guys,
im actually not sure in what forum to put this.. anyway..
is there anyway to load up global perl code?
i made a little script and loading it at a /zone/npcname.pl via
include '/path/to/file.pl';
this works almost perfectly, if i use that file once.
if i include it in another file, it won't get loaded (include only loads a file on the first time its being used).. the problem is, if i load it in script a, script a works but b doesnt.. and the other way around..
i tried to add it to /plugins/globals.pl - this didnt help at all..
is there anway to globaly declare stuff?
thanks in advance!
im actually not sure in what forum to put this.. anyway..
is there anyway to load up global perl code?
i made a little script and loading it at a /zone/npcname.pl via
include '/path/to/file.pl';
this works almost perfectly, if i use that file once.
if i include it in another file, it won't get loaded (include only loads a file on the first time its being used).. the problem is, if i load it in script a, script a works but b doesnt.. and the other way around..
i tried to add it to /plugins/globals.pl - this didnt help at all..
is there anway to globaly declare stuff?
thanks in advance!