Autor Beitrag
Silence
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 58

Win XP Prof
Delphi 7
BeitragVerfasst: So 08.04.07 01:19 
Hi,

probier grade in meinen irc clienten ne nickliste einzubauen. das tut aber net.
hier ma mein code:

ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
procedure TForm1.IdIRC1Joined(Sender: TObject; AChannel: TIdIRCChannel);
var i: integer;
begin
memo1.Clear;
memo1.Lines.Add('[' + timetostr(now) + ']' + achannel.Topic);

for i := 0 to idirc1.Users.Count - 1 do
begin
listbox1.Items.Add(idirc1.Users.Items[i].Nick);
end;
end;


in der listbox steht aber immer nur mein eigener nickname. wieso ist das so?

Silence
NeoInDerMATRIX
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 245

Win95, Win98(+se), WinNT, Win2000, WinME, WinXP(+pro), VISTA, Linux(SuSe), DOS [MultiMon(3)], Vista
D6 PeE + (FP 2.0l) + D3 Pe + D2005+ D2006 Arch
BeitragVerfasst: Fr 13.04.07 02:49 
Probier mal den anderen Event onJoin den onJoined wird ausgelöst wenn du einen Channel betritt. ;-)

Cu
Neo