Quote:
Originally Posted by chrsschb
Definitely. This is my first time writing this kind of quest and first time putting a saylink within the items portion. Appreciate the info. Can you shed any light on why my successful handins are giving me the items returned message though?
|
First of all you are trying to access your qglobal like it is a local variable defined, in which under your sub EVENT_SAY you have $hateblade defined as a saylink.
To access your qglobal it needs to be accessed as such:
Code:
$qglobals{"hateblade"}
Ex:
Code:
elsif(plugin::check_handin(\%itemcount, 2668=>1) && $qglobals{"hateblade"} == 4})
Help?
Also you can debug your quests by spitting out what the value of your qglobal actually holds by doing this:
Code:
quest::say($qglobals{"hateblade"});