View Single Post
  #8  
Old 01-15-2010, 07:09 AM
Secrets's Avatar
Secrets
Demi-God
 
Join Date: May 2007
Location: b
Posts: 1,449
Default

Quote:
Originally Posted by bthomsen0312 View Post
um your code was screwed up for one
Code:
sub EVENT_SAY {
  if($text=~/hail/i) {
    quest::say("How Are you today, $name Bring me One Peice of Epic to receive your epic?");
  }
}

sub EVENT_ITEM {
 
  if (($itemcount {1387} == 1) && ($class eq "Warrior")) {
    quest::say("Well done. Here are your Epic");
    quest::summonitem(10909);
    quest::summonitem(10910); } 

 elsif(($itemcount {1387} == 1) && ($class eq "Ranger")) {
    quest::say("Well done. Here are your Epic");
    quest::summonitem(20487);
    quest::summonitem(20488); }
  }
there is a fixed copy of your code, you were screwing up your syntax and you don't really need to use the plugin to do item hand ins. use notepad++ or georges perl quest editor as it makes checking these things alot easier
edit: too tired. can't read posts.

Last edited by Secrets; 01-15-2010 at 07:19 AM..
Reply With Quote