This line of code won't work:
function process_replies()
{
$user = substr($buffer[0], 1, strpos($buffer['0'], "!")-1);
if (($buffer[2] === $nick) AND ($buffer[1] === "PRIVMSG"))
{
$this->pm($msg, $user);
}
}
The above is meant to return a standard message whenever someone PM's the bot.
But instead, I either get it to return the message even to the network services and everything else, or not at all.
Thanks for any help.
