Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   GUI-Design mit VCL / FireMonkey / Common Controls (https://www.delphipraxis.net/18-gui-design-mit-vcl-firemonkey-common-controls/)
-   -   Delphi Problem mit IdIRC und say (https://www.delphipraxis.net/11856-problem-mit-idirc-und-say.html)

sharkx 15. Nov 2003 09:02


Problem mit IdIRC und say
 
huhu ... folgender code sollte eigentlich einen mehrzeiligen Text ins IRC Posten. Tuts aber nicht ...


Delphi-Quellcode:
      IdIRC1.Say(channel.Text, '± AlphA Pre Bot ±'                                       + #13#10
                             + '--------------------------------------------------------' + #13#10
                             + 'Version ' + v                                            + #13#10
                             + 'Installed since: ' + t                                   + #13#10
                             + 'Releases: ' + InttoStr(ListView1.Items.Count)            + #13#10
                             + 'User: ' + IntToStr(Userlist.Items.Count)                 + #13#10
                             + 'Uptime: ' +  GetWindowsUpTime                            + #13#10
                             + '--------------------------------------------------------');
Er schreibt nur die erste Text zeile :/

Basic-Master 15. Nov 2003 09:43

Re: Problem mit IdIRC und say
 
mmh gehört eigentlich mehr ins internet/ip/lan forum aber egal.. haste schon mal statt #13#10 nur #13 probiert?

sharkx 15. Nov 2003 09:51

Re: Problem mit IdIRC und say
 
Jup .. hab ich auch. Bleibt aber genauso :/

Capa 15. Nov 2003 17:08

Re: Problem mit IdIRC und say
 
wie schon im chan erwähnt ist es einfacher mehrere say commands auszuführen als das mit #10#13 zu machen da es ja anscheinend eh nicht geht.

sharkx 15. Nov 2003 17:56

Re: Problem mit IdIRC und say
 
Hmm ...
Es müsste aber irgendwie funktionieren. Denn wenn du einen 3 Zeiligen Text als ein ganzes in einen Channel postest, reagiert keine kick Protection darauf. Postest du aber diesen Text in 3 einzelne Zeilen, wird die Kick Protection eines jeden 'anständigen' Botes darauf reagieren.

cyberkiller0072001 13. Jan 2004 21:56

Re: Problem mit IdIRC und say
 
warum channel.text? Von welchem typ ist channel?


Alle Zeitangaben in WEZ +1. Es ist jetzt 08:21 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz