View Single Post
  #11  
Old 07-17-2008, 04:46 PM
JLB2414
Fire Beetle
 
Join Date: Jul 2007
Posts: 16
Default sub EVENT_ITEM

Seems like I might of had a plugin problem, I grabbed updated versions and placed them in EQemu\plugins.

I then reduced sub EVENT_ITEM all the way him just wanting the item and then work my way up from there, but he still just eats everything, even if it's the right item.

Code:
sub EVENT_ITEM {  #1 open
	if (plugin::check_handin(\%itemcount, 1079 => 1)) { #2 open
		quest::exp(11);
		quest::summonitem(15036);
		quest::summonitem(15377);
		quest::summonitem(15378);
		quest::summonitem(15230);
    	          quest::summonitem(15376);
    } #2 closed
    elsif {  #3 opened
    	quest::say("I cannot provide the knowledge you seek, $name.");
    	quest::summonitem(1079); }
    }  #3 closed
    else { #4 opened
    	quest::say("You are no Wizard, and I know a Wizard when I see one!");
    	plugin::return_items(\%itemcount);
    } #4 closed
} #1 closed
Reply With Quote