Kh99,
I have one preg_match I simply cannot get to work as true in this if statement.
Any ideas?
Code:
// Check for player reports
$p1 = "/BOT report (.*);(.*)/";
if (preg_match_all($p1, $console['chat'], $out1))
{
// Do Something
}
The $console['chat'] variable as the input contains "BOT report 0;" or "BOT report 0;reason" and for both instances the if statement never works. Lost here...