enanobot.php
changeset 13 f073c94a1477
parent 9 4192954c29d1
child 23 df31a3872d19
equal deleted inserted replaced
12:7f043e712c35 13:f073c94a1477
   191   global $irc, $nick, $mysql_conn, $privileged_list;
   191   global $irc, $nick, $mysql_conn, $privileged_list;
   192   
   192   
   193   if ( strpos($message['message'], $nick) && !in_array($message['nick'], $privileged_list) && $message['nick'] != $nick )
   193   if ( strpos($message['message'], $nick) && !in_array($message['nick'], $privileged_list) && $message['nick'] != $nick )
   194   {
   194   {
   195     $target_nick =& $message['nick'];
   195     $target_nick =& $message['nick'];
   196     $chan->msg("{$target_nick}, I'm only a bot. :-) You should probably rely on the advice of humans if you need further assistance.", true);
   196     // $chan->msg("{$target_nick}, I'm only a bot. :-) You should probably rely on the advice of humans if you need further assistance.", true);
   197   }
   197   }
   198   else
   198   else
   199   {
   199   {
   200     eval(eb_fetch_hook('event_channel_msg'));
   200     eval(eb_fetch_hook('event_channel_msg'));
   201   }
   201   }