how do I make an IRC bot? - Printable Version +- Forums - Open Redstone Engineers (https://forum.openredstone.org) +-- Forum: Off-Topic (https://forum.openredstone.org/forum-4.html) +--- Forum: Programming (https://forum.openredstone.org/forum-8.html) +--- Thread: how do I make an IRC bot? (/thread-4809.html) |
how do I make an IRC bot? - PabloDons - 10-04-2014 so I went through the whole code academy tutorial and learned what's there to know. Unfortunately nothing there explains connection to a server, event-driven programs or similar. may someone be so kind as to give me (or redirect me to) an explanation as to how to do this? I've searched around the internets but it usually expects me to know more about this than I do. I've only gone through writing to a file and reading from it. RE: how do I make an IRC bot? - AFtExploision - 10-04-2014 What language? RE: how do I make an IRC bot? - PabloDons - 10-04-2014 python, sorry about that RE: how do I make an IRC bot? - jxu - 10-04-2014 https://docs.python.org/2/library/socket.html RE: how do I make an IRC bot? - Jmking80 - 10-04-2014 You might want to read all this. http://tools.ietf.org/html/rfc1459 It describes what messages you should send to an irc server to communicate with it.You don't have to implement all the commands listed, but just so you have them all. Some servers use RFC 2812 instead of 1459. You can find RFC 2812 here: http://tools.ietf.org/html/rfc2812 you might also want to have a look at the q-bot source: http://forum.openredstone.org/showthread.php?tid=3043 or maybe this tutorial can help: http://wiki.shellium.org/w/Writing_an_IRC_bot_in_Python RE: how do I make an IRC bot? - PabloDons - 10-04-2014 thanks for the help, appreciated. I'll look into the links. RE: how do I make an IRC bot? - tyler569 - 10-05-2014 Qwer did update Q-bot significantly after that post, here's a more recent version if there's interest in learning from it: https://github.com/qwerasd205/Q-B3X/blob/master/Q-B3X%5BPython%203%20Port%5D.py |