This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

lenght for tcl data

Old posts that have not been replied to for several years.
Locked
e
eagla

Post by eagla »

i get some data from web server and after that print it to private... but i see , that eggdrop print no full string.. it hasn't end.. about 285 letters prints only...
why it's so ?? my code
set wzout [gets $wzsock]
putserv "privmsg $nick :$wzout"

P
Petersen
Owner
Posts: 685
Joined: Thu Sep 27, 2001 8:00 pm
Location: Blackpool, UK

Post by Petersen »

You're getting this effect for 2 reasons. Firstly because you haven't read your config file:
# Set here the maximum number of lines to queue to the server. If you're
# going to dump large chunks of text to people over IRC, you will probably
# want to raise this. 300 is fine for most people though.
set max-queue-msg 300
and secondly because you haven't read RFC1459, which somewhere states that an IRCD should limit the number of characters in a user command (something around the 450 mark for EFNet, dunno what the other networks allow).
Locked