SoTRichard
05-14-2008, 02:36 AM
sub EVENT_ITEM {
# honorable badge turn in
if (plugin::check_handin(\%itemcount, 55561 => 4)) && ($faction <5){
quest::summonitem(29400); # Honorable reward
quest::say("Thankyou you have saved felwithe from death and destruction!");
quest::exp(100000);
}
else {
quest::emote("will not accept this item.");
plugin::return_items(\%itemcount);
}
}
i cannot seem to get this to work... a player with ally faction cannot turn in 4 of the above items... the npc doesn't even return them... just eats them... any ideas or help? trying to make it so you must be at least amiable to complete this 4 item turn in.
# honorable badge turn in
if (plugin::check_handin(\%itemcount, 55561 => 4)) && ($faction <5){
quest::summonitem(29400); # Honorable reward
quest::say("Thankyou you have saved felwithe from death and destruction!");
quest::exp(100000);
}
else {
quest::emote("will not accept this item.");
plugin::return_items(\%itemcount);
}
}
i cannot seem to get this to work... a player with ally faction cannot turn in 4 of the above items... the npc doesn't even return them... just eats them... any ideas or help? trying to make it so you must be at least amiable to complete this 4 item turn in.