help with custom quest please
sub EVENT_SAY {
if($text=~/hail/i) { quest::say("How Are you today, $name Bring me One Peice of Epic to receive your epic?"); } } sub EVENT_ITEM { if(plugin::check_handin(\%itemcount, 1387 => 1) && $class eq "Warrior") { quest::say("Well done. Here are your Epic"); quest::summonitem(10909); quest::summonitem(10910); } } elsif(plugin::check_handin(\%itemcount, 1387 => 1) && $class eq "Ranger") { quest::say("Well done. Here are your Epic"); quest::summonitem(20487); quest::summonitem(20488); } } Ok my problem is i cant give the npc to give the ranger his epic but the warrior can get his am i doing something wrong or maybe i need to change something but if i change the itemcount on the ranger to 2 of the 1387 it works just not one |
Quote:
Code:
sub EVENT_SAY { |
thank you so much one last question is there a way to maek a npc check to see if a player has a item but not take it and also make it so u cant repeat a quest
|
You should use the plugin for checking items. And you can return unused items.
Code:
sub EVENT_SAY { |
that else won't work there man
|
Sure it will. Try it.
|
Quote:
|
Quote:
|
bthomsen0312 got it right and thank you
|
All times are GMT -4. The time now is 08:48 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.