Originally posted by murshid7
View Post
use this code in core.php
PHP Code:
function isenta($text)
{
$sfil[0] = "enttt";
$text = str_replace(" ", "", $text);
$text = strtolower($text);
for($i=0;$i<count($sfil);$i++)
{
$nosf = substr_count($text,$sfil[$i]);
if($nosf>0)
{
return true;
}
}
return false;
}
if(isspam($text))
{
$chnick = getnick_uid($chat[0]);
echo "<b>Chat system:»<i>*oi! $chnick, no spamming*</i></b><br/>";
}
PHP Code:
else if(isenta($text))
{
$chnick = getnick_uid($chat[0]);
echo "<font color=\"red\"><b><i>*$chnick enterd*</font></i></b></font><br/>";
}
demo here
just click and see

Leave a comment: