Ok I am trying to work on it so it only looks at the beginning
PHP Code:
// END CONFIG
$usernamelen = strlen($ttb_username);
if ($ttb==1 AND rand(1,100)<=$ttb_weighting AND $ttb_username=substr($message, 0, $usernamelen) AND $bbuserinfo[userid]!=$ttb_memberid) {gottb();};
$message=substr_replace($message, "", 0, $usernamelen);
For some reason it is not working.
Like I said I am new to php but prior one works fine. Just this one does not seem to.
If you can figure it out please post it.