I made this quest myself and I wanted to know if there is anything wrong with it. You can put it on your server if you want. Just give credits to me
. :
sub EVENT_SAY {
if ($text=~/hail/i){
quest::say("Oh My God! Where did I put [it]??");
}
if($text=~/it/i)
{
quest::say("IT, is my Element of Fire! Without it I have no magic. If only someone could give me the [materials] to make a new one.");
}
if($text=~/materials/i)
{
quest::say("To craft a new essence I need 4 torches, will you [help] me?");
}
if($text=~/help/i)
{
quest::emote("cheers.");
quest::say("Thanks a million your help wont go unrewarded!");
}
}
sub EVENT_ITEM
{
#handin: 4x torches
if(plugin::check_handin(\%itemcount, 13002 => 4))
{
quest::say("You are the savior of my magic, and as I said it will not go unrewarded.");
quest::exp(5000);
}
else
{
quest::say("I have no use for these things.");
#return the items
if($item1>0)
{
quest::summonitem($item1); #item 1
}
if($item2>0)
{
quest::summonitem($item2); #item 2
}
if($item3>0)
{
quest::summonitem($item3); #item 3
}
if($item4>0)
{
quest::summonitem($item4); #item 4
}
}
}
#made by cody : cody's test server admin