View Single Post
  #5  
Old 07-16-2008, 10:46 PM
JLB2414
Fire Beetle
 
Join Date: Jul 2007
Posts: 16
Default hmm

Elsif definitely stopped him from firing off both strings of text, but now when you tell him "teach" he simply says the first if repeatedly.


I changed sub EVENT_ITEM to:

Code:
sub EVENT_ITEM
{
  if($class eq "Wizard")
  {
    if (plugin::check_handin(\%itemcount, 1079 => 1))
    {
    	if ($gold == 15) 
    {
      		quest::exp(15);
      		quest::summonitem(15036);
      		quest::summonitem(15377);
      		quest::summonitem(15378);
      		quest::summonitem(15230);
     	 	quest::summonitem(15376);
    }
    
    else 
    {
      quest::say("I have no use for this item!");
      plugin::return_items(\%itemcount);
    }
    
  	else 
  	{
    quest::say("You are no Wizard, And I know a Wizard when I see one!");
    plugin::return_items(\%itemcount);
    }
}
Yet, he still remains to be the hungry little item eater I've came to know him as.
Reply With Quote