I'm looking to have it so someone does !whisper EXAMPLE this is a test example.
It would output
$whisperuser
as "EXAMPLE" & $whispermessage
as "this is a test example".
<?php
if (strpos($message, '!whisper') === 0) {
$arr = explode(' ',trim($message));
$whisperuser = $arr[1];
$whispermessage = $arr[2]; // I need Whisper message to be anything arr[2] and HIGHER.
// WOULD DO OUTPUT STUFF HERE
}
?>