3/17/2023 0 Comments Mirc number guessing game![]() ![]() > notice *message* – sends specified notice to channel > say *message* – sends specified message to channel There are quite a few nice clients to choose from (mIRC for Windows, ircII for linux console), but I though that:ġ) it would be good to have a simple platform for writing bots (Autumn Leaves (although also written in Ruby) is quite heavy… some others don’t work to well…)Ģ) it would be good to learn the IRC protocol, and this app is good for it because it shows and can accept raw irc messagesģ) maybe it will serve as a learning example for someone…ġ) join and talk to multiple channels, as well as handle private chats,notices and server messages (what is just enough for most of the people out there)ģ) List users/channels (the last one needs some work to be user friendly…)Ĥ) send any IRC command entered by user (but you do have to know what you are doing and you do it at your own risk)ĥ) receive dcc file sends (resume supported)Ħ) process dcc download queue (actually, I use this client mostly for it’s xdcc capabilities – batch downloads, autoresumes, cooldowns etc… works perfectly with bots I’ve encountered:) and handles big (9GB… ) files)Ĩ) Read configuration from environment variables: IRCNICK, IRCSERVER, IRCPORT – thanks Rob Pitt! That’s why I created another – more practical – app: an IRC Client. That’s why I choosed to learn this language by writing… a web image downloader:) It worked, but only with limited number of sites – nowadays very few web pages use “normal” HTML and getting the images can be quite tricky… Maybe not for mainstream applications, but for some web and text-processing related things it’s great… First I bumped into it while searching for an IRC bot, but it looked horrible… However, that was mainly bacause Ruby syntax is quite flexible and that example was just not to my taste… For various reasons I decided to give it another shot and learn it – to my suprise, it’s pretty easy and – what is more important – useful. ![]() Apart from what is commonly used (BASIC, C, Pascal and variations) I also tried things like LISP, Prolog, Haskell and some scripting languages (e.g. For me learning (programming ) ) languages is something close to a hobby. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |