public function listenFor($messagetype, $regex = '.*')
    {
        $listenfor = new Net_SmartIRC_listenfor();
        $this->registerActionHandler($messagetype, $regex, array($listenfor, 'handler'));
        $this->listen();
        return $listenfor->result;
    }