I can simply circumvent "bad" and "eric hartman" and cover 98% of most permutations of the name.
So what if the person legitimately has to say something is bad? "Wow, this build is really
bad"
If you are not going to help or assist with coding problems, you don't need to be posting here.
You have no business telling me where I can and cannot post, if you want help you shouldn't be a total richardface to the people who actually provide help.I was providing help. I was telling you that your method will not work in reality.
Regardless, I fixed it for you.
function serverCmdMessageSent(%client, %text)
{
if($badspotishere)
{
%pos = striPos(%text, "Badspot");
if(%pos >= 0)
{
messageClient(%client, '', "\c6Badspot wishes to not be disturbed.");
return;
}
}
parent::serverCmdMessageSent(%client,%text);
}
The reason it wouldn't send the messages is because you had it set up as
if($badspotIsHere) { checkcodehere(); } else { actuallySendMessage(); }This resulted in messages never being sent while $badspotIsHere is set to a non false value.