function operok($user, $params) { global $debugchan, $omodes; if ($user == ircserver()) { $smsg = array(); $smsg = explode(" ", $params); if ($debug == "on") { msg($debugchan, "operation successful!"); } dump("MODE " . bnick() . " {$omodes}"); } }
function NickInUse() { bnick(rand_name()); }
function changenick($user, $newnick) { if (get_nick($user) == bnick()) { bnick($newnick); } }