Can someone tell me what I did wrong on this? The handin works, it gives you experience. But then it says:
No such Item:757
And the quest completion text doesn't come up.
sub EVENT_SAY {
if($text=~/Hail/i){
quest::say("When Malious raided the towns, like a coward I ran...Not a day goes by that I don't think about the pain I must have caused my family. Now I am stuck here doomed to a death among the beings of this realm. If I had my [sword] surely I could fight my way out. But alas it is gone.");
}
if($text=~/sword/i){
quest::say("The Sword my father gave me, it has been handed down in my family for generations. You look like a strong young man. If you could find my sword and return it to me, I would reward you with one of my most prized posessions.");
}
sub EVENT_ITEM {
if (plugin::check_handin(\%itemcount, 05013 => 1,)) {
quest::say("Thank you sir, You have returned with my trusty sword. The moment I set eyes on you, I knew you were different. I am a man of my word, my most prized possesion. I hope it will help you in your adventures. "); }
quest::summonitem(01365);
quest::exp(20000);
}
}
Item 01365 is FBSS and is in the DB. I can #summon it. Hopefully it's not anything too noobie, but this is really the first quest I have made that rewards items and exp