Ok here it is tested it on my server works well, I all ways place it as the first (quest:: ) and remember it just ( quest::ding )nothing after ding.
Code:
Code:
sub EVENT_ITEM {
if($itemcount{13713} == 1){
quest::ding
quest::say("Yes, I do believe this was the child's dress. Here, take this as your share of the reward. Her father will be heartbroken..");
my $ZamelReward = int(rand(100));
if ($ZamelReward<=35){
quest::summonitem("10320","1");
}
else {
quest::summonitem("10018","1");
}
quest::givecash("0","4","0","0");
quest::faction(36,5); #Guards of Qeynos
quest::faction(9,5); #Antonius Bayle
quest::faction(53,-1); #Corrupt Guards of Qeynos
quest::faction(33,-1); #Circle Of Unseen Hands
quest::faction(217,5); #Merchants of Qeynos
quest::exp("100");
}
}
#End of updated file Zamel.pl