Forums - Open Redstone Engineers
Making an IRC bot in Java? - 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: Making an IRC bot in Java? (/thread-2599.html)



Making an IRC bot in Java? - gelloe - 02-26-2014

Scratch that, how do you make an IRC bot all together? It's so confusing.


RE: Making an IRC bot in Java? - tokumei - 02-26-2014

First of all, make sure you know a language that's common for developing an IRC client. Some of the ones I would use are Python, Java, or C/C++. If you know how to handle TCP sockets and parse strings in one of those languages, then you're good to go. As for the IRC protocol (how you communicate with the server), check out a couple of Request For Comments that define the protocol, google "rfc 1459" and "rfc 2812", or simply google "irc protocol" and look for a tutorial instead of reading those long passages.


RE: Making an IRC bot in Java? - gelloe - 02-27-2014

(02-26-2014, 10:01 PM)DJ8X Wrote: First of all, make sure you know a language that's common for developing an IRC client. Some of the ones I would use are Python, Java, or C/C++. If you know how to handle TCP sockets and parse strings in one of those languages, then you're good to go. As for the IRC protocol (how you communicate with the server), check out a couple of Request For Comments that define the protocol, google "rfc 1459" and "rfc 2812", or simply google "irc protocol" and look for a tutorial instead of reading those long passages.

Ok, thanks dude! Big Grin


RE: Making an IRC bot in Java? - Iceglade - 02-28-2014

The IRC protocol is really not that hard once you get used to it. It's just a matter of understanding the basic commands.


RE: Making an IRC bot in Java? - gelloe - 02-28-2014

(02-26-2014, 10:01 PM)DJ8X Wrote: First of all, make sure you know a language that's common for developing an IRC client. Some of the ones I would use are Python, Java, or C/C++. If you know how to handle TCP sockets and parse strings in one of those languages, then you're good to go. As for the IRC protocol (how you communicate with the server), check out a couple of Request For Comments that define the protocol, google "rfc 1459" and "rfc 2812", or simply google "irc protocol" and look for a tutorial instead of reading those long passages.
I looked up irc protocol. There was like a 500 page documentation of rfc 1459 and rfc 2812, then the next link I clicked was also a huge documentation. Are there any sources that don't lead to a gigantic page like that?

(02-28-2014, 02:30 PM)Iceglade Wrote: The IRC protocol is really not that hard once you get used to it. It's just a matter of understanding the basic commands.

Anywhere I can find these basic commands?


RE: Making an IRC bot in Java? - xdot - 02-28-2014

http://en.wikipedia.org/wiki/List_of_Internet_Relay_Chat_commands

However, you should really read http://tools.ietf.org/html/rfc1459.html if you want to understand how IRC works.


RE: Making an IRC bot in Java? - VirtualPineapple - 03-03-2014

WE DONT NEED ANY MORE IRC BOTS BLURHGLHGLHL
:3


RE: Making an IRC bot in Java? - tokumei - 03-03-2014

(03-03-2014, 10:08 PM)VirtualPineapple Wrote: WE DONT NEED ANY MORE IRC BOTS BLURHGLHGLHL
:3

It's not so much of a big deal anymore... Plus it's a good learning experience