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.
10-04-2014, 03:50 PM
What language?
10-04-2014, 08:28 PM
10-04-2014, 08:35 PM
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
10-04-2014, 09:39 PM
thanks for the help, appreciated. I'll look into the links.
10-05-2014, 05:29 AM
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...Port%5D.py |
|