okay guys i have this script to use the first exploded part as the trigger then the rest sent in a msg, ive got the trigger but its just the message part im having probs with, how do i make it so anything after x is sent; in this i need $text to be set as it, any sort of help is greatly appreciated :-)
/*CODE*/ <?php $string = "blah foo bar foo"; $ex = explode(" ",$string); if ($ex[0] == "blah") { $txt = "$ex[1] $ex[2] etc"; irc_privmsg($nick, $txt); } ?> - CS