mIRC Home    About    Download    Register    News    Help

Print Thread
K
Kneet
Kneet
K
Is it possible to increase the maximum length of a command? I believe it is now somewhere between 900 or 1000 chars, but what is the use of this error? It has crashed my scripts more than once. Especially when it comes to downloading data with sockets. I find it very annoying that I must constantly find a way to avoid this error, while the use of this error is questionable.
I doubt it even 1 person has ever benefited from this error. So I would like to ask to remove this error. I really don't think it's useful.

Another thing: Is it possible to implement an event that reacts on mIRC errors? Like hash-table errors etc.

Joined: Dec 2002
Posts: 2,884
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 2,884
Quote:
Especially when it comes to downloading data with sockets.

/sockread has binary variable support to prevent such errors.

K
Kneet
Kneet
K
If I make google-script, I also get line too long when I try to do something with it. Using it as a binary would not be very productive. So I must first split it in chunks, which is an unnecessary step imo.

D
DaveC
DaveC
D
then make it a binary and dont split it, hmm they are usefull.

K
Kneet
Kneet
K
how do i perform actions on it if it's not a string, but a binary? :S

D
DaveC
DaveC
D
you extract parts of it to strings and process them as needed.

K
Kneet
Kneet
K
exactly, thus you cannot perform actions on the entire string if you must split it in chunks

Joined: Feb 2004
Posts: 201
J
Jae Offline
Fjord artisan
Offline
Fjord artisan
J
Joined: Feb 2004
Posts: 201
Most interesting.. and putting something in a binvar can be a pain.. $0 returns the number of tokenised 'words' seperated by spaces.. $1-[very high number] returns each word.. y not have a $-1 or something meaning the WHOLE lot with spaces and all to be left intact?
unless there is..... *blinks* confused


Link Copied to Clipboard