I fixed your code by removing all the garbage from it and then adding new working code.
package crap
{
function clientCmdServerMessage(%tag, %msg, %a, %b, %c, %d, %e, %f, %g, %h, %i, %j)
{
parent::clientCmdServerMessage(%tag, %msg, %a, %b, %c, %d, %e, %f, %g, %h, %i, %j);
%detag = detag(%tag);
if(%detag $= "MsgClientKilled")
{
if(%b $= "")
RTBCC_NotificationManager.push(%a,"","skull-32","",5000);
else if(%a !$= %b)
RTBCC_NotificationManager.push(%a,"by " @ %b,"skull-32","",5000);
else
RTBCC_NotificationManager.push(%a,"","skull-32","",5000);
}
else if(%detag $= "MsgYourDeath")
{
if(%b $= $Pref::Player::NetName)
RTBCC_NotificationManager.push("You got killed","by yourself...","skull-32","",5000);
else if(%b !$= "")
RTBCC_NotificationManager.push("You got killed","by " @ %b,"skull-32","",5000);
else
RTBCC_NotificationManager.push("You died","","skull-32","",5000);
}
}
};activatepackage(crap);
Though it's not perfect.