UPDATE
So I just copied an extra block for the Unstoppable KS
Code: Select all
function onClientMessage(%client, %msg)
{
%me = Client::getName(getManagerId());
if(String::findSubStr(%msg, %me) != "-1")
{
if(String::findSubStr(%msg, "is on a KILLING SPREE") != "-1")
{
say(0, "Announcer: KILLING SPREE!!! ~wkillingspree");
}
if(String::findSubStr(%msg, "is on an EXTREME KILLING SPREE") != "-1")
{
say(0, "Announcer: DOMINATING!!! ~wdominating");
}
if(String::findSubStr(%msg, "CAN NO ONE STOP") != "-1")
{
say(0, "Announcer: UNSTOPPABLE!!! ~wunstoppable");
}
}
}
then I'm gonna add headshot sounds to the assassination and fells a shot between the eyes messages. I haven't tested this out, but could I make it bottom print the message instead of publicly say it? like this? would this work, without the typos obv.
if(string::findsubstr(%msg, "can no one stop")!= "-1")
{
printBP(0, "<color red>unstoppable!<colorredend> ~wunstoppable");
or BottomPrint(0, "<color red>unstoppable!<colorredend> ~wunstoppable");