View Single Post
  #7  
Old 08-26-2007, 04:05 AM
BWStripes
Sarnak
 
Join Date: Jun 2007
Location: Finland
Posts: 65
Default

Two things I'd check. First, I'd try replacing your:

Code:
if ($itemcount{9998} => 0){quest::summonitem("5042"); }
if ($itemcount(9999} => 0){quest::summonitem("6030"); }
if ($itemcount{55623} => 0){quest::summonitem("5071"); }
instead using the plugin for each line:

Code:
  if (plugin::check_handin(\%itemcount, 9998 => 1)) {
    quest::say("Here you go $name, may this Tarnished oojamaflip bring you better fourtune!");
    quest::summonitem(5042);
  }
By now, you may have noticed your second item turn-in has a regular bracket around the itemID instead of a curly:
if ($itemcount(9999} => 0)

Should be:
if ($itemcount{9999} => 0)

The quest might throw a bit of a wobbly over the use of 0 as well, surely greater than or equal to one?
Reply With Quote