Expletus
12-29-2010, 02:43 AM
sub EVENT_SAY
{
my $mead = quest::saylink("mead");
if ($text =~/hail/i)
{
quest::say ("Good day to you, $name. Do you need some [$mead]?");
#quest::emote ("Dances with $name.");
}
if ($text =~/mead/i)
{
quest::say ("Drink up!");
quest::SummonItem("13033");
}
}
NPC won't give me any items back. I also tried to copy a script from below about giving armor, and that won't work either. using the latest db and build.
{
my $mead = quest::saylink("mead");
if ($text =~/hail/i)
{
quest::say ("Good day to you, $name. Do you need some [$mead]?");
#quest::emote ("Dances with $name.");
}
if ($text =~/mead/i)
{
quest::say ("Drink up!");
quest::SummonItem("13033");
}
}
NPC won't give me any items back. I also tried to copy a script from below about giving armor, and that won't work either. using the latest db and build.