Author Topic: No kill message mod  (Read 813 times)

I remember seeing it but I don't remember where it is. I tried searching, but maybe I didnt look hard enough




Bump

^^^^^^^^^^^^^^^^^^^^^^^^~~~~~~~~~~~~~~~~~~~~~^^^^^>>>><<<<>>>>^^^^^^^^^^

Ugh, that's a terrible old mod of mine. I don't recommend using it.

If you're using Slayer, set [Chat | Death Message Mode] to "Disabled" in the Advanced tab.

unlocked for xalos

You didn't unlock it FOR me, you unlocked it because I MADE you, because you're not supposed to lock suggestion threads / help threads.

Anyway, that HideKills add-on still calls the default onDeath, just with a message that doesn't show up. So it's only useful for hiding kills if you want to avoid chatspam. In a Murder Mystery situation, I can EASILY package clientcmdServerMessage:

Code: (KillTracker.cs) [Select]
package KillTracker
{
function clientcmdServerMessage(%event, %a, %b, %c, %d, %e, %f, %g, %h, %i, %j, %k, %l, %m, %n, %o, %p, %q, %r, %s, %t)
{
//%debug = 2;
Parent::clientcmdServerMessage(%event, %a, %b, %c, %d, %e, %f, %g, %h, %i, %j, %k, %l, %m, %n, %o, %p, %q, %r, %s, %t);
%trig = getTaggedString(getWord(%event, 0));
if(%debug >= 2)
echo("\""@%trig@" ("@firstWord(%event)@")\": \""@%a@"\", \""@%b@"\", \""@%c@"\", \""@%d@"\", \""@%e@"\"");
switch$(%trig)
{
case "MsgClientKilled":
if(%debug)
if(%c $= $Pref::Player::NetName)
echo("You killed "@%b@"!");
else
echo(%c@" killed "@%b@"!");
if(%c !$= $Pref::Player::NetName && %c !$= "")
clientcmdCenterPrint("<color:FFFFFF>"@%c@" killed "@%b@"!", 2);
else if(%c !$= "")
clientcmdCenterPrint("<color:FFFFFF>You killed "@%b@"!", 2);
else
clientcmdCenterPrint("<color:FFFFFF>"@%b@" died!", 2);
case "MsgYourDeath":
if(%debug)
echo("You were killed by "@%c@"!");
}
}
};
activatePackage("KillTracker");

You didn't unlock it FOR me, you unlocked it because I MADE you
Well excuse me princess
Just kidding, Thanks for notifying me guys. I wasn't aware of the slayer option, and I guess I won't lock SR topics anymore