the npc is Mater, i have verified that he does not have # or anything in front of his name
he is npc id 67019 so i did a save as on the file as 67019.pl
he does not respond to hail or anything else in the script.
here is his complete code, i only added the turnin section
Code:
sub EVENT_SAY {
if ($text=~/hail/i) && ($class eq 'Rogue') {
quest::say("Ah, welcome! We could use some fresh blood around here. The name's Mater, and I run this little outfit. Work hard for me, and I will reward you well. Cross me, and you'll find yourself buried under the mine cap. Once you are ready to begin your training please make sure that you see Crovsar Dirkbringer , he can assist you in developing your hunting and gathering skills. Return to me when you have become more experienced in our art, I will be able to further instruct you on how to progress through your early ranks.
}
else
if ($text=~/Hail/i){
quest::say("Welcome to the mines of Kaladim!");
}
}
sub EVENT_ITEM {
if (plugin::check_handin(\%itemcount, 18767 => 1)) {
quest::say("Very well then, take this and get to work.");
quest::summonitem(13516);
quest::exp(500);
}
}