View Single Post
  #3  
Old 05-26-2011, 12:43 AM
joligario's Avatar
joligario
Developer
 
Join Date: Mar 2003
Posts: 1,498
Default

This assigns the itemids given to $i: foreach my $i(keys %{$itemcount}) {
I would think isdisctome($i) only checks if the item is a discipline tome.

Maybe you are thinking too far outside the box?

Psuedo:
Code:
if (plugin::check_handin(\%itemcount, tomeid => 1)) {
  if (special_person_only || special_case_only) {
    quest::traindisc(tomeid);
  }
}
Reply With Quote