View Single Post
  #1  
Old 08-20-2010, 01:50 PM
Tabasco's Avatar
Tabasco
Discordant
 
Join Date: Sep 2009
Posts: 269
Default

I think that needs to be plugin::check_handin(\%itemcount, 1659 => 1), => rather than ==

You should take a look at plugins/globals.pl.
functions like plugin::takeItems(...) and plugin::returnUnusedItems() are easier to use and you don't have to pass the item array.
Reply With Quote