ok here is my Script im wanting to hand in 4 items and then be giving my quest item.........Problem is not getting reply to hail and my link wouldnt work to next phase ect...
sub EVENT_SAY
{
my $RatLord = quest::saylink("Rat Lord");
if($text=~/Hail/i)
{
plugin::Whisper("Hi there $name,We have a big rat problem here in the mines,one of my guards went deep in the mine and spotted a [$Rat Lord] the guard said he was big and powerful he ran befor The Beast could get him.");
}
elsif($text=~/Rat Lord/i)
{
plugin::Whisper("Yes, The Rat Lord is said to be the Leader of these Rats could you step forth and kill him and bring me 4 Rat Lord Skulls? I will Give you nice Charm in return.");
}
if ($item1== 299999 && $item2== 299999 && $item3== 299999)
{
sub EVENT_ITEM {
if(plugin::check_handin(\%itemcount,299999 => 4)) {
quest::say("Good Job Young of being a great scaled mystic. ");
quest::SummonItem("59943");
quest::givecash("5","10","15","20");
quest::exp(500);
}
|