Advertisement
Guest User

hehe

a guest
Dec 8th, 2016
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 18.70 KB | None | 0 0
  1. <?php
  2. /* vim: set noexpandtab tabstop=2 softtabstop=2 shiftwidth=2: */
  3.  
  4. /**
  5.  * Chat plugin.
  6.  * Provides private messages and a wide variety of shout-outs.
  7.  * Updated by Xymph
  8.  *
  9.  * Dependencies: requires chat.admin.php
  10.  */
  11.  
  12. Aseco::addChatCommand('pm', 'Sends a private message to login or Player_ID');
  13. Aseco::addChatCommand('pma', 'Sends a private message to player & admins');
  14. Aseco::addChatCommand('pmlog', 'Displays log of your recent private messages');
  15. Aseco::addChatCommand('hi', 'Sends a Hi message to everyone');
  16. Aseco::addChatCommand('bye', 'Sends a Bye message to everyone');
  17. Aseco::addChatCommand('thx', 'Sends a Thanks message to everyone');
  18. Aseco::addChatCommand('lol', 'Sends a Lol message to everyone');
  19. Aseco::addChatCommand('lool', 'Sends a Lool message to everyone');
  20. Aseco::addChatCommand('brb', 'Sends a Be Right Back message to everyone');
  21. Aseco::addChatCommand('afk', 'Sends an Away From Keyboard message to everyone');
  22. Aseco::addChatCommand('gg', 'Sends a Good Game message to everyone');
  23. Aseco::addChatCommand('gr', 'Sends a Good Race message to everyone');
  24. Aseco::addChatCommand('n1', 'Sends a Nice One message to everyone');
  25. Aseco::addChatCommand('bgm', 'Sends a Bad Game message to everyone');
  26. Aseco::addChatCommand('official', 'Shows a helpful message ;-)');
  27. Aseco::addChatCommand('bootme', 'Boot yourself from the server');
  28.  
  29. function chat_pm($aseco, $command) {
  30.     global $muting_available,  // from plugin.muting.php
  31.            $pmlen;  // from chat.admin.php
  32.  
  33.     $command['params'] = explode(' ', $command['params'], 2);
  34.  
  35.     $player = $command['author'];
  36.     $target = $player;
  37.  
  38.     // get player login or ID
  39.     if (!$target = $aseco->getPlayerParam($player, $command['params'][0]))
  40.         return;
  41.  
  42.     // check for a message
  43.     if (isset($command['params'][1]) && $command['params'][1] != '') {
  44.         $stamp = date('H:i:s');
  45.         // strip wide fonts from nicks
  46.         $plnick = str_ireplace('$w', '', $player->nickname);
  47.         $tgnick = str_ireplace('$w', '', $target->nickname);
  48.  
  49.         // drop oldest pm line if sender's buffer full
  50.         if (count($player->pmbuf) >= $pmlen) {
  51.             array_shift($player->pmbuf);
  52.         }
  53.         // append timestamp, sender nickname and pm line to sender's history
  54.         $player->pmbuf[] = array($stamp, $plnick, $command['params'][1]);
  55.  
  56.         // drop oldest pm line if receiver's buffer full
  57.         if (count($target->pmbuf) >= $pmlen) {
  58.             array_shift($target->pmbuf);
  59.         }
  60.         // append timestamp, sender nickname and pm line to receiver's history
  61.         $target->pmbuf[] = array($stamp, $plnick, $command['params'][1]);
  62.  
  63.         // show chat message to both players
  64.         $msg = '{#error}-pm-$g[' . $plnick . '$z$s$i->' . $tgnick . '$z$s$i]$i {#interact}' . $command['params'][1];
  65.         $msg = $aseco->formatColors($msg);
  66.         $aseco->client->addCall('ChatSendServerMessageToLogin', array($msg, $target->login));
  67.         $aseco->client->addCall('ChatSendServerMessageToLogin', array($msg, $player->login));
  68.         if (!$aseco->client->multiquery()) {
  69.             trigger_error('[' . $aseco->client->getErrorCode() . '] ChatSend PM (multi) - ' . $aseco->client->getErrorMessage(), E_USER_WARNING);
  70.         }
  71.  
  72.         // check if player muting is enabled
  73.         if ($muting_available) {
  74.             // append pm line to both players' buffers
  75.             if (count($target->mutebuf) >= 28) {  // chat window length
  76.                 array_shift($target->mutebuf);
  77.             }
  78.             $target->mutebuf[] = $msg;
  79.             if (count($player->mutebuf) >= 28) {  // chat window length
  80.                 array_shift($player->mutebuf);
  81.             }
  82.             $player->mutebuf[] = $msg;
  83.         }
  84.  
  85.     } else {
  86.         $msg = '{#server}> {#error}No message!';
  87.         $aseco->client->query('ChatSendServerMessageToLogin', $aseco->formatColors($msg), $player->login);
  88.     }
  89. }  // chat_pm
  90.  
  91. function chat_pma($aseco, $command) {
  92.     global $muting_available,  // from plugin.muting.php
  93.            $pmlen;  // from chat.admin.php
  94.  
  95.     $command['params'] = explode(' ', $command['params'], 2);
  96.  
  97.     $player = $command['author'];
  98.     $target = $player;
  99.  
  100.     // check for admin ability
  101.     if ($aseco->allowAbility($player, 'chat_pma')) {
  102.         // get player login or ID
  103.         if (!$target = $aseco->getPlayerParam($player, $command['params'][0]))
  104.             return;
  105.  
  106.         // check for a message
  107.         if ($command['params'][1] != '') {
  108.             $stamp = date('H:i:s');
  109.             // strip wide fonts from nicks
  110.             $plnick = str_ireplace('$w', '', $player->nickname);
  111.             $tgnick = str_ireplace('$w', '', $target->nickname);
  112.  
  113.             // drop oldest pm line if receiver's history full
  114.             if (count($target->pmbuf) >= $pmlen) {
  115.                 array_shift($target->pmbuf);
  116.             }
  117.             // append timestamp, sender nickname and pm line to receiver's history
  118.             $target->pmbuf[] = array($stamp, $plnick, $command['params'][1]);
  119.  
  120.             // show chat message to receiver
  121.             $msg = '{#error}-pm-$g[' . $plnick . '$z$s$i->' . $tgnick . '$z$s$i]$i {#interact}' . $command['params'][1];
  122.             $msg = $aseco->formatColors($msg);
  123.             $aseco->client->addCall('ChatSendServerMessageToLogin', array($msg, $target->login));
  124.  
  125.             // check if player muting is enabled
  126.             if ($muting_available) {
  127.                 // drop oldest message if receiver's mute buffer full
  128.                 if (count($target->mutebuf) >= 28) {  // chat window length
  129.                     array_shift($target->mutebuf);
  130.                 }
  131.                 // append pm line to receiver's mute buffer
  132.                 $target->mutebuf[] = $msg;
  133.             }
  134.  
  135.             // show chat message to all admins
  136.             foreach ($aseco->server->players->player_list as $admin) {
  137.                 // check for admin ability
  138.                 if ($aseco->allowAbility($admin, 'chat_pma')) {
  139.                     // drop oldest pm line if admin's buffer full
  140.                     if (count($admin->pmbuf) >= $pmlen) {
  141.                         array_shift($admin->pmbuf);
  142.                     }
  143.                     // append timestamp, sender nickname and pm line to admin's history
  144.                     $admin->pmbuf[] = array($stamp, $plnick, $command['params'][1]);
  145.  
  146.                     // CC the message
  147.                     $aseco->client->addCall('ChatSendServerMessageToLogin', array($msg, $admin->login));
  148.  
  149.                     // check if player muting is enabled
  150.                     if ($muting_available) {
  151.                         // append pm line to admin's mute buffer
  152.                         if (count($admin->mutebuf) >= 28) {  // chat window length
  153.                             array_shift($admin->mutebuf);
  154.                         }
  155.                         $admin->mutebuf[] = $msg;
  156.                     }
  157.                 }
  158.             }
  159.             if (!$aseco->client->multiquery()) {
  160.                 trigger_error('[' . $aseco->client->getErrorCode() . '] ChatSend PMA (multi) - ' . $aseco->client->getErrorMessage(), E_USER_WARNING);
  161.             }
  162.  
  163.         } else {
  164.             $msg = '{#server}> {#error}No message!';
  165.             $aseco->client->query('ChatSendServerMessageToLogin', $aseco->formatColors($msg), $player->login);
  166.         }
  167.     } else {
  168.         $msg = $aseco->getChatMessage('NO_ADMIN');
  169.         $aseco->client->query('ChatSendServerMessageToLogin', $aseco->formatColors($msg), $player->login);
  170.     }
  171. }  // chat_pma
  172.  
  173. function chat_pmlog($aseco, $command) {
  174.     global $lnlen;  // from chat.admin.php
  175.  
  176.     $player = $command['author'];
  177.     $login = $player->login;
  178.  
  179.     if (!empty($player->pmbuf)) {
  180.         if ($aseco->server->getGame() == 'TMN') {
  181.             $head = 'Your recent PM history:' . LF;
  182.             $msg = '';
  183.             $lines = 0;
  184.             $player->msgs = array();
  185.             $player->msgs[0] = 1;
  186.             foreach ($player->pmbuf as $item) {
  187.                 // break up long lines into chunks with continuation strings
  188.                 $multi = explode(LF, wordwrap(stripColors($item[2]), $lnlen, LF . '...'));
  189.                 foreach ($multi as $line) {
  190.                     $line = substr($line, 0, $lnlen+3);  // chop off excessively long words
  191.                     $msg .= '$z' . ($aseco->settings['chatpmlog_times'] ? '$n<{#server}' . $item[0] . '$z$n>$m ' : '') .
  192.                             '[{#black}' . $item[1] . '$z] ' . $line . LF;
  193.                     if (++$lines > 9) {
  194.                         $player->msgs[] = $aseco->formatColors($head . $msg);
  195.                         $lines = 0;
  196.                         $msg = '';
  197.                     }
  198.                 }
  199.             }
  200.             // add if last batch exists
  201.             if ($msg != '')
  202.                 $player->msgs[] = $aseco->formatColors($head . $msg);
  203.  
  204.             // display popup message
  205.             if (count($player->msgs) == 2) {
  206.                 $aseco->client->query('SendDisplayServerMessageToLogin', $login, $player->msgs[1], 'OK', '', 0);
  207.             } else {  // > 2
  208.                 $aseco->client->query('SendDisplayServerMessageToLogin', $login, $player->msgs[1], 'Close', 'Next', 0);
  209.             }
  210.  
  211.         } elseif ($aseco->server->getGame() == 'TMF') {
  212.             $head = 'Your recent PM history:';
  213.             $msg = array();
  214.             $lines = 0;
  215.             $player->msgs = array();
  216.             $player->msgs[0] = array(1, $head, array(1.2), array('Icons64x64_1', 'Outbox'));
  217.             foreach ($player->pmbuf as $item) {
  218.                 // break up long lines into chunks with continuation strings
  219.                 $multi = explode(LF, wordwrap(stripColors($item[2]), $lnlen+30, LF . '...'));
  220.                 foreach ($multi as $line) {
  221.                     $line = substr($line, 0, $lnlen+33);  // chop off excessively long words
  222.                     $msg[] = array('$z' . ($aseco->settings['chatpmlog_times'] ? '<{#server}' . $item[0] . '$z> ' : '') .
  223.                                    '[{#black}' . $item[1] . '$z] ' . $line);
  224.                     if (++$lines > 14) {
  225.                         $player->msgs[] = $msg;
  226.                         $lines = 0;
  227.                         $msg = array();
  228.                     }
  229.                 }
  230.             }
  231.             // add if last batch exists
  232.             if (!empty($msg))
  233.                 $player->msgs[] = $msg;
  234.  
  235.             // display ManiaLink message
  236.             display_manialink_multi($player);
  237.         }
  238.     } else {
  239.         $aseco->client->query('ChatSendServerMessageToLogin', $aseco->formatColors('{#server}> {#error}No PM history found!'), $login);
  240.     }
  241. }  // chat_pmlog
  242.  
  243. function chat_hi($aseco, $command) {
  244.  
  245.     $player = $command['author'];
  246.  
  247.     // check if on global mute list
  248.     if (in_array($player->login, $aseco->server->mutelist)) {
  249.         $message = formatText($aseco->getChatMessage('MUTED'), '/hi');
  250.         $aseco->client->query('ChatSendServerMessageToLogin', $aseco->formatColors($message), $player->login);
  251.         return;
  252.     }
  253.  
  254.     //if ($command['params'] != '') {
  255.     //  $msg = '$g[' . $player->nickname . '$z$s] {#interact}Hello ' . $command['params'] . '!';
  256.     //} else {
  257.     //  $msg = '$g[' . $player->nickname . '$z$s] {#interact}Hello All!';
  258.     //}
  259.     $msg = "";
  260.  
  261.     global $gggg;
  262.     if ($command['params'] != '') {
  263.         $gggg = 'Hello ' . $command['params'] . '!';
  264.     } else {
  265.         $gggg = 'Hello All!';
  266.     }
  267.  
  268.     tgjcolor( $aseco, $player );
  269.     //$aseco->client->query('ChatSendServerMessage', $aseco->formatColors($msg));
  270. }  // chat_hi
  271.  
  272. function chat_bye($aseco, $command) {
  273.  
  274.     $player = $command['author'];
  275.  
  276.     // check if on global mute list
  277.     if (in_array($player->login, $aseco->server->mutelist)) {
  278.         $message = formatText($aseco->getChatMessage('MUTED'), '/bye');
  279.         $aseco->client->query('ChatSendServerMessageToLogin', $aseco->formatColors($message), $player->login);
  280.         return;
  281.     }
  282.  
  283.     //if ($command['params'] != '') {
  284.     //  $msg = '$g[' . $player->nickname . '$z$s] {#interact}Bye ' . $command['params'] . ' !';
  285.     //} else {
  286.     //  $msg = '$g[' . $player->nickname . '$z$s] {#interact}I have to go... Bye All !';
  287.     //}
  288.     //$aseco->client->query('ChatSendServerMessage', $aseco->formatColors($msg));
  289.  
  290.     global $gggg;
  291.     if ($command['params'] != '') {
  292.         $gggg = 'Bye ' . $command['params'] . '!';
  293.     } else {
  294.         $gggg = 'I have to go... Bye All!';
  295.     }
  296.  
  297.     tgjcolor( $aseco, $player );
  298. }  // chat_bye
  299.  
  300. function chat_thx($aseco, $command) {
  301.  
  302.     $player = $command['author'];
  303.  
  304.     // check if on global mute list
  305.     if (in_array($player->login, $aseco->server->mutelist)) {
  306.         $message = formatText($aseco->getChatMessage('MUTED'), '/thx');
  307.         $aseco->client->query('ChatSendServerMessageToLogin', $aseco->formatColors($message), $player->login);
  308.         return;
  309.     }
  310.  
  311.     //if ($command['params'] != '') {
  312.     //  $msg = '$g[' . $player->nickname . '$z$s] {#interact}Thanks ' . $command['params'] . ' !';
  313.     //} else {
  314.     //  $msg = '$g[' . $player->nickname . '$z$s] {#interact}Thanks All !';
  315.     //}
  316.     //$aseco->client->query('ChatSendServerMessage', $aseco->formatColors($msg));
  317.  
  318.     global $gggg;
  319.     if ($command['params'] != '') {
  320.         $gggg = 'Thanks ' . $command['params'] . '!';
  321.     } else {
  322.         $gggg = 'Thanks All!';
  323.     }
  324.  
  325.     tgjcolor( $aseco, $player );
  326. }  // chat_thx
  327.  
  328. function chat_lol($aseco, $command) {
  329.  
  330.     $player = $command['author'];
  331.  
  332.     // check if on global mute list
  333.     if (in_array($player->login, $aseco->server->mutelist)) {
  334.         $message = formatText($aseco->getChatMessage('MUTED'), '/lol');
  335.         $aseco->client->query('ChatSendServerMessageToLogin', $aseco->formatColors($message), $player->login);
  336.         return;
  337.     }
  338.  
  339.     global $gggg;
  340.     $gggg = 'LoL!';
  341.     tgjcolor( $aseco, $player );
  342.     //$msg = '$g[' . $player->nickname . '$z$s] {#interact}LoL !';
  343.     //$aseco->client->query('ChatSendServerMessage', $aseco->formatColors($msg));
  344. }  // chat_lol
  345.  
  346. function chat_lool($aseco, $command) {
  347.  
  348.     $player = $command['author'];
  349.  
  350.     // check if on global mute list
  351.     if (in_array($player->login, $aseco->server->mutelist)) {
  352.         $message = formatText($aseco->getChatMessage('MUTED'), '/lool');
  353.         $aseco->client->query('ChatSendServerMessageToLogin', $aseco->formatColors($message), $player->login);
  354.         return;
  355.     }
  356.  
  357.     global $gggg;
  358.     $gggg = 'LooOOooL!';
  359.     tgjcolor( $aseco, $player );
  360.     //$msg = '$g[' . $player->nickname . '$z$s] {#interact}LooOOooL !';
  361.     //$aseco->client->query('ChatSendServerMessage', $aseco->formatColors($msg));
  362. }  // chat_lool
  363.  
  364. function chat_brb($aseco, $command) {
  365.  
  366.     $player = $command['author'];
  367.  
  368.     // check if on global mute list
  369.     if (in_array($player->login, $aseco->server->mutelist)) {
  370.         $message = formatText($aseco->getChatMessage('MUTED'), '/brb');
  371.         $aseco->client->query('ChatSendServerMessageToLogin', $aseco->formatColors($message), $player->login);
  372.         return;
  373.     }
  374.  
  375.     global $gggg;
  376.     $gggg = 'Be Right Back!';
  377.     tgjcolor( $aseco, $player );
  378.     //$msg = '$g[' . $player->nickname . '$z$s] {#interact}Be Right Back !';
  379.     //$aseco->client->query('ChatSendServerMessage', $aseco->formatColors($msg));
  380. }  // chat_brb
  381.  
  382. function chat_afk($aseco, $command) {
  383.  
  384.     $player = $command['author'];
  385.  
  386.     // check if on global mute list
  387.     if (in_array($player->login, $aseco->server->mutelist)) {
  388.         $message = formatText($aseco->getChatMessage('MUTED'), '/afk');
  389.         $aseco->client->query('ChatSendServerMessageToLogin', $aseco->formatColors($message), $player->login);
  390.         return;
  391.     }
  392.  
  393.     global $gggg;
  394.     $gggg = 'Away From Keyboard!';
  395.     tgjcolor( $aseco, $player );
  396.     //$msg = '$g[' . $player->nickname . '$z$s] {#interact}Away From Keyboard !';
  397.     //$aseco->client->query('ChatSendServerMessage', $aseco->formatColors($msg));
  398.  
  399.     // check for TMF & auto force spectator
  400.     if ($aseco->server->getGame() == 'TMF' && $aseco->settings['afk_force_spec']) {
  401.         if (!$aseco->isSpectator($player)) {
  402.             // force player into spectator
  403.             $rtn = $aseco->client->query('ForceSpectator', $player->login, 1);
  404.             if (!$rtn) {
  405.                 trigger_error('[' . $aseco->client->getErrorCode() . '] ForceSpectator - ' . $aseco->client->getErrorMessage(), E_USER_WARNING);
  406.             } else {
  407.                 // allow spectator to switch back to player
  408.                 $rtn = $aseco->client->query('ForceSpectator', $player->login, 0);
  409.             }
  410.         }
  411.  
  412.         // force free camera mode on spectator
  413.         $aseco->client->addCall('ForceSpectatorTarget', array($player->login, '', 2));
  414.         // free up player slot
  415.         $aseco->client->addCall('SpectatorReleasePlayerSlot', array($player->login));
  416.     }
  417. }  // chat_afk
  418.  
  419. function chat_gg($aseco, $command) {
  420.  
  421.     $player = $command['author'];
  422.  
  423.     // check if on global mute list
  424.     if (in_array($player->login, $aseco->server->mutelist)) {
  425.         $message = formatText($aseco->getChatMessage('MUTED'), '/gg');
  426.         $aseco->client->query('ChatSendServerMessageToLogin', $aseco->formatColors($message), $player->login);
  427.         return;
  428.     }
  429.  
  430.     global $gggg;
  431.     if ($command['params'] != '') {
  432.         $gggg = 'Good Game ' . $command['params'] . '!';
  433.     } else {
  434.         $gggg = 'Good Game All!';
  435.     }
  436.  
  437.     tgjcolor( $aseco, $player );
  438.     //if ($command['params'] != '') {
  439.     //  $msg = '$g[' . $player->nickname . '$z$s] {#interact}Good Game ' . $command['params'] . ' !';
  440.     //} else {
  441.     //  $msg = '$g[' . $player->nickname . '$z$s] {#interact}Good Game All !';
  442.     //}
  443.     //$aseco->client->query('ChatSendServerMessage', $aseco->formatColors($msg));
  444. }  // chat_gg
  445.  
  446. function chat_gr($aseco, $command) {
  447.  
  448.     $player = $command['author'];
  449.  
  450.     // check if on global mute list
  451.     if (in_array($player->login, $aseco->server->mutelist)) {
  452.         $message = formatText($aseco->getChatMessage('MUTED'), '/gr');
  453.         $aseco->client->query('ChatSendServerMessageToLogin', $aseco->formatColors($message), $player->login);
  454.         return;
  455.     }
  456.  
  457.     global $gggg;
  458.     if ($command['params'] != '') {
  459.         $gggg = 'Good Race ' . $command['params'] . '!';
  460.     } else {
  461.         $gggg = 'Good Race!';
  462.     }
  463.     tgjcolor( $aseco, $player );
  464.  
  465.     //if ($command['params'] != '') {
  466.     //  $msg = '$g[' . $player->nickname . '$z$s] {#interact}Good Race ' . $command['params'] . ' !';
  467.     //} else {
  468.     //  $msg = '$g[' . $player->nickname . '$z$s] {#interact}Good Race !';
  469.     //}
  470.     //$aseco->client->query('ChatSendServerMessage', $aseco->formatColors($msg));
  471. }  // chat_gr
  472.  
  473. function chat_n1($aseco, $command) {
  474.  
  475.     $player = $command['author'];
  476.  
  477.     // check if on global mute list
  478.     if (in_array($player->login, $aseco->server->mutelist)) {
  479.         $message = formatText($aseco->getChatMessage('MUTED'), '/gr');
  480.         $aseco->client->query('ChatSendServerMessageToLogin', $aseco->formatColors($message), $player->login);
  481.         return;
  482.     }
  483.  
  484.     global $gggg;
  485.     if ($command['params'] != '') {
  486.         $gggg = 'Nice One ' . $command['params'] . '!';
  487.     } else {
  488.         $gggg = 'Nice One!';
  489.     }
  490.     tgjcolor( $aseco, $player );
  491.  
  492.     //if ($command['params'] != '') {
  493.     //  $msg = '$g[' . $player->nickname . '$z$s] {#interact}Nice One ' . $command['params'] . ' !';
  494.     //} else {
  495.     //  $msg = '$g[' . $player->nickname . '$z$s] {#interact}Nice One !';
  496.     //}
  497.     //$aseco->client->query('ChatSendServerMessage', $aseco->formatColors($msg));
  498. }  // chat_n1
  499.  
  500. function chat_bgm($aseco, $command) {
  501.  
  502.     $player = $command['author'];
  503.  
  504.     // check if on global mute list
  505.     if (in_array($player->login, $aseco->server->mutelist)) {
  506.         $message = formatText($aseco->getChatMessage('MUTED'), '/bgm');
  507.         $aseco->client->query('ChatSendServerMessageToLogin', $aseco->formatColors($message), $player->login);
  508.         return;
  509.     }
  510.  
  511.     global $gggg;
  512.     $gggg = 'Bad Game for Me :(';
  513.     tgjcolor( $aseco, $player );
  514.     //$msg = '$g[' . $player->nickname . '$z$s] {#interact}Bad Game for Me :(';
  515.     //$aseco->client->query('ChatSendServerMessage', $aseco->formatColors($msg));
  516. }  // chat_bgm
  517.  
  518. function chat_official($aseco, $command) {
  519.     global $rasp;
  520.  
  521.     $msg = $rasp->messages['OFFICIAL'][0];
  522.     $aseco->client->query('ChatSendServerMessageToLogin', $aseco->formatColors($msg), $command['author']->login);
  523. }  // chat_official
  524.  
  525. function chat_bootme($aseco, $command) {
  526.     global $rasp;
  527.  
  528.     // show departure message and kick player
  529.     $msg = formatText($rasp->messages['BOOTME'][0],
  530.                       $command['author']->nickname);
  531.     $aseco->client->query('ChatSendServerMessage', $aseco->formatColors($msg));
  532.     if ($aseco->server->getGame() == 'TMF' &&
  533.         isset($rasp->messages['BOOTME_DIALOG'][0]) && $rasp->messages['BOOTME_DIALOG'][0] != '')
  534.         $aseco->client->addCall('Kick', array($command['author']->login,
  535.                                 $aseco->formatColors($rasp->messages['BOOTME_DIALOG'][0] . '$z')));
  536.     else
  537.         $aseco->client->addCall('Kick', array($command['author']->login));
  538. }  // chat_bootme
  539. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement