Here it is the Kilam Oresinger quest, its right from the peq quests.
Code:
sub EVENT_SAY {
if($text=~/Hail/i){
quest::say("Hail. $name - Are you [interested] in helping the League of Antonican Bards by delivering some [mail]?");
}
if($text=~/what mail/i){
quest::say("The League of Antonican Bards has a courier system made up of travelers and adventurers. We pay good gold to anyone who will take messages from bards such as myself to one of our more central offices. Are you [interested]?");
}
if($text=~/i am interested/i){
quest::say("I have messages that need to go to - well. right now I have one that needs to go to Kelethin. Will you [deliver] mail to [Kelethin] for me?");
}
if($text=~/i will deliver to kelethin/i){
quest::say("Take this letter to Jakum Webdancer in Kelethin. You can find him at the bard guild hall. I am sure he will compensate you for your troubles.");
}
if($text=~/I wil deliver to Kelethin/i){
quest::say("Take this letter to Jakum Webdancer in Kelethin. You can find him at the bard guild hall. I am sure he will compensate you for your troubles.");
quest::summonitem("18161"); }
}
#END of FILE Zone:kaladima ID:60001 -- Kilam_Oresinger
The dialog works just fine but no item summons at the end, is there a connector to the db that I'm missing?