chuck in a
elseif ($rawcmd[1] == "hi") { fputs($socket, "PRIVMSG ".$channel." :Your message goes here\n"); }