Autor Beitrag
Die Brotmafia
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 110

Win XP Suse Linux 9.3
Delphi 7 Enterprise, Delphi 2005
BeitragVerfasst: So 01.01.06 20:13 
Also, ich will einen kleinen IRC client programmieren.

Der funtkioniert bis jetzt so, dass er per IdIRC Komponente ins Quakenet einloggt und einen Channel joint.

Nun hätte ich gerne dass, wenn im Channel jemand was schreibt, dass der Client dann das geschriebene in ein Memo einträgt.

Ich habs schon versucht mit IdTCP.ReadChar und so zeugs, aber das funktioniert irgendwie nicht, ich will dass er nur auf das zuletzt geschriebene reagiert...

Jemand ne Ahnung wie ich das umsetzen könnte?

Hab auch schon die Delphi Hilfe bemüht, aber ohne Erfolg :(

Schonmal im voraus danke!
GTA-Place
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
EE-Regisseur
Beiträge: 5248
Erhaltene Danke: 2

WIN XP, IE 7, FF 2.0
Delphi 7, Lazarus
BeitragVerfasst: So 01.01.06 20:51 
Versuchs mit dem Event OnMessage oder OnRecive, wobei ich glaube es war ersteres.
Da steht dann der Text in Content und der Channel in AChannel.

_________________
"Wer Ego-Shooter Killerspiele nennt, muss konsequenterweise jeden Horrorstreifen als Killerfilm bezeichnen." (Zeit.de)
Die Brotmafia Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 110

Win XP Suse Linux 9.3
Delphi 7 Enterprise, Delphi 2005
BeitragVerfasst: So 01.01.06 21:17 
Oha, das mit dem OnMessage hatte ich, aber ich habe das Content nicht gesehen ;)

Danke!!