23.12.2009, 19:19
pawn Код:
public OnPlayerText(playerid, text[])
{
new dotcount =0;
new coloncount =0;
for(new a=1; a <strlen(text); a++)
{
if(text[a] == ':')
{
coloncount ++;
}
else
if(text[a] == '.')
{
dotcount ++;
}
}
if(dotcount == 3 && coloncount == 1)
{
// kick?
return 0;
}
}