Could someone please tell me why this script doesn't work? The NPC talking works just fine....but the zone crashes when I hand in the item i've tried both of the following:
EVENT_SAY{
if($1- =~ "Hail")
{
say("Hello $name! How are you? Might I as you to [help] me?")
}
if($1- =~ "help")
{
say("Thank you for your interest. Please Collect For Me a Cloth Cap")
}
}
EVENT_ITEM{
if ($item0 == "1001")
{
say("Thank You Very Much!")
}
}
---------------------------------------------------------------------------------
EVENT_SAY{
if($1- =~ "Hail")
{
say("Hello $name! How are you? Might I as you to [help] me?")
}
if($1- =~ "help")
{
say("Thank you for your interest. Please Collect For Me a Cloth Cap")
}
}
EVENT_ITEM{
if ($itemcount(1001) == 1)
{
say("Thank You Very Much!")
}
}
$itemcount dose NOT work. that is the first thing i notice.
also after the item turn in you close it, the have him say somthing, he isnt going to say anything because you didnt tell him when to that could break it and cause it to crash too.
We tried to get itemcount functional on RA and were told it wasnt implimented with 4.4 cause they forgot. there is a fix for it but for those of us who cant compile it dont work for 4.4.
Okay, I'm running a 4.4 Server (Didn't Compile it Myself). None of the quest for handing in items works......even the ones shipped with the server....they all talk...but all crash when an item i handed in (even the soul-binder).
here is the last attempt at the same script:
EVENT_SAY {
if($1- =~ "Hail") { say("Hello $name! How are you? Might I as you to [help] me?") }
if($1- =~ "help") { say("Thank you for your interest. Please Collect For Me a Cloth Cap") }
}
EVENT_ITEM {
if ($item1 == "1001") { say("Thank You Very Much!") }
}
What am I doing wrong...I know it has to be something simple.....
Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.