i think you want this
Code:
sub EVENT_SAY {
if ($text=~/hail/i) {
quest::say("Greetings, $name ");
}
if ($text=~/what process/i) {
quest::say("Want to know about it already? Amazing, young one.. Ok, fine. The Scaled Mystics have ranks, for now, you are just an apprentice. Me I am an Heyokah, the one the spirits talk within. A day, perhaps, you may become one, who know. But the path is long and painful. Do you want to follow this [path]?");
}
if ($text=~/path/i) {
quest::say("Alright, young one. Outside this tower lie the field of bone. A dangerous place indeed. You will go there, and slay the wild beasts. As a proof of your devotion, you will bring me these items along with your cudgel. A telson from a Scorpion, the scales of a scaled wolf, and a glowing silk from the dangerous spiders. Now go, young one, in the name of the Scaled Mystics ! ");}
}
sub EVENT_ITEM {
if(plugin::check_handin(\%itemcount,18206 => 1)) {
quest::say("Ahhh, a new recruit, excellent. Take this cudgel, young one, it's the first step in the [process] of being a great scaled mystic. ");
quest::summonitem("5140");
quest::givecash("0","0","0","10");
quest::exp(1500);
}
elsif(plugin::check_handin(\%itemcount,12846 => 1,1831 => 1, 5140 => 1, 12466 => 1)) {
quest::say("WOah !");
quest::summonitem(5141);
quest::exp(3000);
}
else {
plugin::return_items(\%itemcount);
quest::say("do I look like garbage??");
}
}