View Single Post
  #4  
Old 11-21-2004, 05:20 AM
Kroeg's Avatar
Kroeg
Hill Giant
 
Join Date: Oct 2003
Posts: 241
Default

Yeah, plus you're using itemcounts where they obviously don't need to be. Such a use would be like this:


if ($itemcount{13758} == 1 && $itemcount{20270} == 2 && $itemcount{6011} == 3 && $itemcount{20290} == 5){
quest::dowhatever....blahblah

itemcount is for stacks of items, $item[no] is used for single item turnins. To make your quest work, this is what I believe it should look like:


sub EVENT_SAY {
if($text=~/Hail/i){
quest::say("Hail to you $name. You look like a [young druid].");
if($text=~/young druid/i){
quest::say("Well then you've come to the right place. As your druidic blacksmith it is my duty to outfit young ones such as yourself. If you [assist] me I will reward you with a very nice mace.");
if($text=~/i will assist you/i){
quest::say("Excellent! I require you to go out into the Faydark and return to me with one of the following items. A Black Wolf Skin , A Forest Drakeling Scales , A Rust Mace , and A Giant Wasp Drone Pollen. When you return I shall give you the mace."); }
}

sub EVENT_ITEM {
if($itemcount{13758} == 1 && $itemcount{20270} == 1 && $itemcount{6011} == 1 && $itemcount{20290} == 1){
quest::say("Nice work druid. Now as I said here is your mace , use it well.");
quest::exp(150);
quest::summonitem(3431); }
}


That should work for you, but please let me know.
Reply With Quote