Oh I fixed it, I forgot to post : O
it was =~ quest text, dumb on my part ; o
But I got cool news, this has evolved into quite a project ^_^.
I'm making a persistent in-game PERL DB off of this, lolz... it'll be better than global variables in a way that you can create data structures and so on : D.
I tested it : P. I created a table, stored it, and had another NPC retrieve it. Worked like a charm : D.
Oh well, I'll submit this when it's done kk, so you can all have fun ^_^. You can also use it for localized instances and local tables within NPCs ^)^. It also takes away the need for the thousands of if statements ><
if($text=~/hail/i) or w/e. You can just have a sub EVENT_SAY and add these statements to the table. You'll also be able to manipulate it more by adding in custom properties, taking properties from other areas, and so on, for example, internal status requirements, how much the NPC likes you, the NPCs mood, the status of the player, and w/e you want, and instead of having these each as an if statement, when you put them in the table it'll autocheck to make sure all of these things are true or false or whatever you want it to be ^_^.
Oh well, back to my little project *is excited*
__________________
//The Path of Chaos Server-
//Fate Industries
//Lots of stuff O-o
|