mIRC Home    About    Download    Register    News    Help

Print Thread
#175905 30/04/07 12:49 PM
Joined: Sep 2006
Posts: 59
R
Rewtor Offline OP
Babel fish
OP Offline
Babel fish
R
Joined: Sep 2006
Posts: 59
Hey,

Ive made a script that read from a web page with sockread -fn into a $bvar
The only problem is with certain pages i get the error * String too long: $bvar

The error is called when i try to read data from it ($bvar(&Binvar,1-).text)

Any suggestions?

Joined: Oct 2005
Posts: 1,741
G
Hoopy frood
Offline
Hoopy frood
G
Joined: Oct 2005
Posts: 1,741
You have to limit the number of characters you retrieve from the binvars. Regular mIRC identifiers can only handle about 900 character string lengths. Even though binvars can hold more, the rest of mIRC can't.

-genius_at_work

Joined: Sep 2006
Posts: 59
R
Rewtor Offline OP
Babel fish
OP Offline
Babel fish
R
Joined: Sep 2006
Posts: 59
So basically i need to make use of $bfind? smile

Joined: Oct 2005
Posts: 1,741
G
Hoopy frood
Offline
Hoopy frood
G
Joined: Oct 2005
Posts: 1,741
I've never used binvars so I can't help you with the commands.

-genius_at_work


Link Copied to Clipboard