View Single Post
  #1  
Old 06-07-2010, 11:31 PM
Zordana
Sarnak
 
Join Date: Jan 2010
Posts: 38
Default global perl code

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!
Reply With Quote