Fluf Posted August 25, 2007 Share Posted August 25, 2007 Hi. Made a simple php bot what is able to response, when i say !quit, but the problems is that everybody can execute this command. How can i make a check for it? if($nick == "Fluf" && stripos($line,"PRIVMSG ".$chan." :!quit\r\n)>0){ then bla bla How do make this $nick? Quote Link to comment https://forums.phpfreaks.com/topic/66671-php-irc-bot/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.