+
+ public function recive_ctcp($user, $target, $command, $text, $publicCtcp) {
+ if(!$publicCtcp) {
+ switch($command) {
+ case"PING":
+ $this->uplink->ctcp_reply($target, $user, "PONG", $text);
+ break;
+ case"VERSION":
+ $this->uplink->ctcp_reply($target, $user, "VERSION", "PHP-P10 Pack by pk910. Source: http://devserv.pk910.de/git/?p=PHP-P10.git");
+ break;
+ case"TIME":
+ $this->uplink->ctcp_reply($target, $user, "TIME", date('r'));
+ break;
+ case"FINGER":
+ $this->uplink->ctcp_reply($target, $user, "FINGER", "PHP-P10 Pack (C) ".date('Y')." pk910. Visit us on irc://irc.webgamesnet.net/PHP");
+ break;
+ }
+ }
+ }