If you have ever wanted to build your own IRC client, keep reading. In this third part of a three-part article series, you will learn how to build an IRC client in Delphi from scratch, with assistance from Indy. While not all possible commands will be implemented, you will learn enough to add to and modify the code as you see fit.
memo1.Lines.Add('Nicknames in Channel: '+AChannel);
for i:= 0 to ANicknameList.Count-1 do begin
memo1.lines.add(ANicknameList.Strings[i]);
end;
end;
This event fires when you receive a list of nicknames in a channel. The list itself is returned by the ListChannelNicknames() procedure. You also get other info such as the channel name.
I've shown you all the commands that this client application will implement. It is by no means all of the commands available, but it should give you the basis and inspiration to continue working through all the remaining commands.
DISCLAIMER: The content provided in this article is not warranted or guaranteed by Developer Shed, Inc. The content provided is intended for entertainment and/or educational purposes in order to introduce to the reader key ideas, concepts, and/or product reviews. As such it is incumbent upon the reader to employ real-world tactics for security and implementation of best practices. We are not liable for any negative consequences that may result from implementing any information covered in our articles or tutorials. If this is a hardware review, it is not recommended to open and/or modify your hardware.