delquest not working?
Here's sample of my code...
if (plugin::check_handin(\%itemcount, $tinybone => 1)) {
quest::say("You found it! Thanks.");
quest::say("Talk to me when you are ready for next adventure.");
quest::level(4);
quest::delglobal("weiuaFirst");
} else {
plugin::return_items(\%itemcount);
quest::say("I have no use for this item, $name. Take it back.");
}
Now, the problem is that setglobal works, and returns true when defined $qglobals{WeiuaFirst} is checked, but once its defined, it don't seem to change back to false after delglobal is used. That is, unless I use clear quest cache command.
Is there wrong with how I use delglobal?
__________________
Hmm...
|