View Single Post
  #5  
Old 09-25-2011, 11:28 PM
lerxst2112
Demi-God
 
Join Date: Aug 2010
Posts: 1,742
Default

Try this, and check the item ID you are expecting them to turn in. 299999 is most likely wrong.

Code:
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 [$RatLord] the guard said he was big and powerful he ran before 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.");
	}
}

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);
	}
}
Reply With Quote