Thread: item counts?
View Single Post
  #1  
Old 04-11-2011, 04:09 PM
deaddraqear
Sarnak
 
Join Date: May 2008
Location: california
Posts: 45
Default item counts?

For the life of me, (been sick and almost no sleep isn't helping), i cant figure out how to get npc to give task credit for items, unless 1 at a time.. And npc eats any item handed in (i am probably using the plugin wrong?)

1 at a time works fine, but who really wants to do that? I have tried => and different variations.. Do i need to set it itemcount{66181} == 2 to update 2 on updatetaskactivity, 3 to 3 and 4 for 4? =\ Seems like it would work, but I'm sure theres an easier way?

Quote:
sub EVENT_ITEM
{
if ($itemcount{66181} == 1)
{
quest::updatetaskactivity(1, 1)
}
else
{
plugin::return_items(\%itemcount);
}
}
Reply With Quote