/**
  * @param IrcCommandFoundEvent $event
  * @return bool
  */
 public function parseForTickerAction(IrcCommandFoundEvent $event)
 {
     $arguments = $event->getData();
     if ($this->parseMessage($arguments[4])) {
         $this->sendNumMessages(1, $arguments[3]);
     }
     return true;
 }
 /**
  * @param IrcCommandFoundEvent $event
  * @return bool
  */
 public function onUpdateInformation(IrcCommandFoundEvent $event)
 {
     $arguments = $event->getData();
     if ($this->parseMessage($arguments[4])) {
         $this->sendMessage(array($arguments[3]), $event->getNickname() . ': ' . $this->readFromDeineMutterFile());
     }
     return true;
 }
 /**
  * @param IrcCommandFoundEvent $event
  * @throws CommandException
  * @return boolean
  */
 public function onUpdateInformation(IrcCommandFoundEvent $event)
 {
     $data = $event->getData();
     $msg = $data[4];
     $operation = substr($msg, -2);
     if ($operation === '++' || $operation === '--') {
         $topic = substr($msg, 0, -2);
         $this->updateKarma($topic, $operation === '++');
     }
     unset($dateTime);
     unset($data);
 }
 /**
  * @param IrcCommandFoundEvent $event
  * @return bool
  */
 public function onUpdateInformation(IrcCommandFoundEvent $event)
 {
     $arguments = $event->getData();
     $this->parseMessage($arguments[4]);
     if (!$this->annoy) {
         return false;
     }
     $jobs = $this->getJobsToBeDone();
     if (count($jobs)) {
         $this->executeJobs($jobs);
     }
     return true;
 }
 /**
  * @param IrcCommandFoundEvent $event
  * @return bool
  */
 public function onUpdateInformation(IrcCommandFoundEvent $event)
 {
     $arguments = $event->getData();
     if ($this->parseMessage($arguments[4])) {
         $this->readStammtische();
         $this->sendMessage(array($arguments[3]), 'wo ihr gerade ' . $this->getTriggeredTrigger($arguments[4]) . ' erwähnt, hier die stammtisch erinnerung:');
         foreach ($this->stammtische as $num => $infos) {
             $this->sendMessage(array($arguments[3]), $num . ': ' . $infos['title']);
         }
     }
     return true;
 }