PDA

View Full Version : Fixed: Hole, Kejar_the_Mighty


Irreverent
04-09-2013, 09:07 AM
chooserandom to ChooseRandom (didn't work) and put the plugin to return items.

sub EVENT_SAY {#need correct text for all parts
if ($text=~/hail/i) {
quest::say("I do not have time to talk to you, I am looking for something that I [lost]");
}
if ($text=~/lost/i) {
quest::say("Yes, lost. I am missing my robes if you could bring them to me I would reward you.");
}
}

sub EVENT_ITEM {
if (plugin::check_handin(\%itemcount, 1360=> 1))
{
quest::say("You found it, I am so pleased! Here is your reward");
quest::summonitem(quest::ChooseRandom(8960, 8961));
quest::exp(5000);
}
plugin::return_items(\%itemcount);
}

Robregen
04-09-2013, 09:27 AM
okay this is fixed for PEQ. Thanks.