Thread: Quest questions
View Single Post
  #1  
Old 01-04-2016, 08:02 PM
Kingly_Krab
Administrator
 
Join Date: May 2013
Location: United States
Posts: 1,603
Default

You'll want to do this backwards:
Code:
if (plugin::check_handin(\%itemcount, 13005 => 1) && ($ulevel > 14)) {
Should be:
Code:
if ($ulevel > 14 && plugin::check_handin(\%itemcount, 13005 => 1)) {
The reason being, you can meet the check_handin but fail the level check and the NPC will eat your items. So you want to check other criteria first.
Reply With Quote