public function kick($channel, $nicknamearray, $reason = null,
        $priority = SMARTIRC_MEDIUM
    ) {
        if (!is_array($nicknamearray)) {
            $nicknamearray = array($nicknamearray);
        }

        $nicknamelist = implode(',', $nicknamearray);

        if ($reason !== null) {
            $this->send('KICK '.$channel.' '.$nicknamelist.' :'.$reason, $priority);
        } else {
            $this->send('KICK '.$channel.' '.$nicknamelist, $priority);
        }
        return $this;
    }
public function kick($channel, $nicknamearray, $reason = null,
        $priority = SMARTIRC_MEDIUM
    ) {
        if (!is_array($nicknamearray)) {
            $nicknamearray = array($nicknamearray);
        }

        $nicknamelist = implode(',', $nicknamearray);

        if ($reason !== null) {
            $this->send('KICK '.$channel.' '.$nicknamelist.' :'.$reason, $priority);
        } else {
            $this->send('KICK '.$channel.' '.$nicknamelist, $priority);
        }
        return $this;
    }
public function kick ( $ channel , $ nicknamearray , $ reason = null , $ priority = SMARTIRC_MEDIUM ) { if ( ! is_array ( $ nicknamearray ) ) { $ nicknamearray = array ( $ nicknamearray ) ; } $ nicknamelist = implode ( ',' , $ nicknamearray ) ; if ( $ reason !== null ) { $ this -> send ( 'KICK ' . $ channel . ' ' . $ nicknamelist . ' :' . $ reason , $ priority ) ; } else { $ this -> send ( 'KICK ' . $ channel . ' ' . $ nicknamelist , $ priority ) ; } return $ this ; }
Kicks one or more user from an IRC channel with an optional reason.

@param string $channel
@param mixed $nicknamearray
@param string $reason
@param integer $priority message priority, default is SMARTIRC_MEDIUM
@return Net_SmartIRC
@api
Kicks one or more user from an IRC channel with an optional reason .