View Single Post
Old 02-02-2005, 05:15 PM   #1 (permalink)
Nathalie
 
Newb Techie

Join Date: Feb 2005

Posts: 2

Nathalie

Default [Delphi] Indy IRC Parsing

Hi there.

I'm in the process of making an IRC client in Delphi 7, using the Indy Client component for IRC.

I've got as far with the display as being able to see the raw data by using:

Code:
procedure TfrmMain.ircMainMessage(Sender: TObject; AUser: TIdIRCUser;
  AChannel: TIdIRCChannel; Content: String);
begin
rtfIRC.Lines.Append(ircMain.ReadLn());
end;
However this isn't what I want to be seeing.

How could I possibly parse this to display similarly to:

<Username> Message

And how would I also go about parsing actions differently?

Thanks in advance,
Nathalie L. Agôn
Nathalie is offline