mIRC Home    About    Download    Register    News    Help

Print Thread
Continue Line #148542 07/05/06 03:41 PM
Joined: Dec 2002
Posts: 37
X
Xx_InSaNe_xX Offline OP
Ameglian cow
OP Offline
Ameglian cow
X
Joined: Dec 2002
Posts: 37
I have a line in my script that is too big to fit on one line. Is there a way to continue it on the next line? I tried $& already, but I get an error saying line too line no matter what I do. I thought the way to do this was to use , but it also is not working. Thanks.

Re: Continue Line #148543 07/05/06 04:04 PM
Joined: Sep 2004
Posts: 200
I
IR_n00b Offline
Fjord artisan
Offline
Fjord artisan
I
Joined: Sep 2004
Posts: 200
I think lines have a 900 character limit. Not sure, but you can try using %vars to set text, make the line shorter, or do it in separte parts
i.e:
Code:
var %n = $gettok(%text,1,54)
var %f = blahblahblah
var %q = $getok(%text,4,32)
echo -a %n %q %f

Re: Continue Line #148544 10/05/06 03:21 AM
Joined: Sep 2005
Posts: 2,881
H
hixxy Offline
Hoopy frood
Offline
Hoopy frood
H
Joined: Sep 2005
Posts: 2,881
Use a binary variable.

Re: Continue Line #148545 10/05/06 03:22 AM
Joined: Sep 2005
Posts: 2,881
H
hixxy Offline
Hoopy frood
Offline
Hoopy frood
H
Joined: Sep 2005
Posts: 2,881
That won't help one bit.

Code:
//echo -a $str(a,1000)


Code:
//var %a = $str(a,500), %b = $str(a,500) | echo -a %a %b


Try both.