Hi there,
I'm currently trying to find a way of searching a submitted string and if it has a ! at the begining of the string then I can wrap the string in a font colour in the if statement.
This is basically for a chatbox mod. If there is a ! at the begining and the user is an admin then the font changes colour to make it obvious it is an admin shout.
$shout = "!this is an administrator shout";
if($user == ADMIN && [ADDITIONAL CHECK HERE])
Does anyone know what function to use for that?.
Thanks.