You can have something like this in global_player.pl:
Code:
sub EVENT_DEATH_COMPLETE {
if ($entity_list->GetMobByID($killer_id) && $entity_list->GetMobByID($killer_id)->IsClient()) {
$entity_list->GetMobByID($killer_id)->CastToClient()->AddEXP(###);
$entity_list->GetMobByID($killer_id)->CastToClient()->Message(315, "You have been granted ### experience for killing $name.");
}
}
This is the first time these PvP (killer) variables have come in handy.