mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Feb 2004
Posts: 10
K
Kneet Offline OP
Pikka bird
OP Offline
Pikka bird
K
Joined: Feb 2004
Posts: 10
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,962
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 2,962
Quote:
Especially when it comes to downloading data with sockets.

/sockread has binary variable support to prevent such errors.


Spelling mistakes, grammatical errors, and stupid comments are intentional.
Joined: Feb 2004
Posts: 10
K
Kneet Offline OP
Pikka bird
OP Offline
Pikka bird
K
Joined: Feb 2004
Posts: 10
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.

Joined: Sep 2003
Posts: 4,230
D
Hoopy frood
Offline
Hoopy frood
D
Joined: Sep 2003
Posts: 4,230
then make it a binary and dont split it, hmm they are usefull.

Joined: Feb 2004
Posts: 10
K
Kneet Offline OP
Pikka bird
OP Offline
Pikka bird
K
Joined: Feb 2004
Posts: 10
how do i perform actions on it if it's not a string, but a binary? :S

Joined: Sep 2003
Posts: 4,230
D
Hoopy frood
Offline
Hoopy frood
D
Joined: Sep 2003
Posts: 4,230
you extract parts of it to strings and process them as needed.

Joined: Feb 2004
Posts: 10
K
Kneet Offline OP
Pikka bird
OP Offline
Pikka bird
K
Joined: Feb 2004
Posts: 10
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