i dont know why u fools havent thought of this befor lol
add this to core
and some of you will be shaking your heads on how easy this simple code is lol
as all it will do is report the message being sent then ban the person for it
add this to core
PHP Code:
function isblocked2($str,$sender)
{
if(ismod($sender))
{
return false;
}
$str = str_replace(" ","",$str);
$code[0] = ".php";
$code[1] = ".php4";
$code[2] = ".php5";
for($i=0;$i<count($codes);$i++)
{
$nosf = substr_count($str,$codes[$i]);
if($nosf>0)
{
return true;
}
}
return false;
}
as all it will do is report the message being sent then ban the person for it
Comment