View Single Post
  #4  
Old 08-24-2007, 12:32 PM
Breea
Banned
 
Join Date: Aug 2007
Posts: 28
Default

Ok here is what happens...

Quote:
sub EVENT_SAY {
if ($text=~/hail/i){quest::say("Weapons are one of your main forms of combat. And a faster weapon can make the battle go in your favor. While helping out here I found enough stones to sharpen weapons. If youd like I can sharpen your's simply hand it to me."); }
}
sub EVENT_ITEM(){
if (plugin::check_handin(\%itemcount, 9997 => 1)){
quest::say("Here you go $name, may this Tarnished Dagger bid you better fourtuine!");
quest::summonitem(7021);
}
if ($itemcount{9998} => 0){quest::summonitem("5042"); }
if ($itemcount(9999} => 0){quest::summonitem("6030"); }
if ($itemcount{55623} => 0){quest::summonitem("5071"); }
else {
#do all other handins first with plugin, then let it do disciplines
plugin::return_items(\%itemcount);
}
}
The plugin is there and even when using the default and using $item1==12312 they STILL eat the item. I can see the transaction take place in the logs, however the npc's seem not to even respond to the sub EVENT_ITEM. (I tried EVENT_ITEM and EVENT_ITEM() neither works.)

The sub EVENT_SAY works however.

Here is the doozie, in Halas and other older zones I can spawn the mob there, copy the pl file in that zone folder and it works like a charm, just not in tutorialb.

Any ideas? he he.
Reply With Quote