Any NPC, usually in the sub EVENT_ITEM section where handins occur.
e.g. added ding to Zamel.pl in south qeynos when I originally wrote it, and then removed it as it didn't do anything (back in v0992).
Faction hits and exp appear correctly, however.
Feel free to shift this to the support section
Code:
sub EVENT_ITEM {
if($itemcount{13713} == 1){
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");
quest::ding();
}
}