View Single Post
  #1  
Old 04-09-2013, 09:07 AM
Irreverent
The Solo Server
 
Join Date: May 2007
Posts: 416
Default Fixed: Hole, Kejar_the_Mighty

chooserandom to ChooseRandom (didn't work) and put the plugin to return items.

Code:
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);
}
__________________
OP of Irreverent Server (The Solo Server)
Our Forums
Reply With Quote