Here's another example:
(needs packaging too)
function clientCmdServerMessage(%client, %callback, %string, %tagged, %prefix, %name, %suffix, %message)
{
if(lastWord(%callback) $= "MsgClientKilled" && getWord(%name,1) $= $Pref::Player::NetName)
{
//Stuffhere
}
}