added some more events
[PHP-P10.git] / Uplink / EventHandler.interface.php
index b441841d26301d051cf175dd1ee20562c1eb4dcf..d4dc99cddbf58281c98e9efd5f6558884798a2d8 100644 (file)
@@ -35,6 +35,7 @@ interface EventHandler {
        public function event_nick($user, $newNick);
        public function event_usermode($user, $modes);
        public function event_quit($user, $reason);
+       public function event_away($user, $away);
        
        public function event_join($user, $channel, $isBurst);
        public function event_part($user, $channel, $reason);
@@ -42,9 +43,14 @@ interface EventHandler {
        public function event_chanmode($user, $channel, $modes);
        
        public function event_chanmessage($user, $channel, $message);
-       public function event_channotice($user, $channel, $message);    
-       public function event_privmessage($user, $channel, $message);
-       public function event_privnotice($user, $channel, $message);
+       public function event_channotice($user, $channel, $message);
+       public function event_chanctcp($user, $channel, $command, $text);
+       public function event_chanctcpreply($user, $target, $command, $text);
+       public function event_privmessage($user, $target, $message);
+       public function event_privnotice($user, $target, $message);
+       public function event_privctcp($user, $target, $command, $text);
+       public function event_privctcpreply($user, $target, $command, $text);
+       
        
        public function event_preparse($from, $command, $arguments);
        public function event_unknown_cmd($from, $command, $arguments);