mIRC Home    About    Download    Register    News    Help

Print Thread
insufficient parameters - code help #217214 05/01/10 02:32 AM
Joined: Nov 2003
Posts: 257
A
alkahol1k Offline OP
Fjord artisan
OP Offline
Fjord artisan
A
Joined: Nov 2003
Posts: 257
Haven't coded in a long time and I need help figuring this out. I'm trying to list 3000+ audio files

* /sline: insufficient parameters (line 38, tunez.ini)
line 38 below

alias -l high_c { $iif($window(@tunez),sline @tunez %tunez.l) }

Re: insufficient parameters - code help [Re: alkahol1k] #217216 05/01/10 03:38 AM
Joined: Jul 2007
Posts: 1,129
T
Tomao Offline
Hoopy frood
Offline
Hoopy frood
T
Joined: Jul 2007
Posts: 1,129
I think you missed a number
Quote:
sline @tunez %tunez.l N

Re: insufficient parameters - code help [Re: alkahol1k] #217218 05/01/10 06:46 AM
Joined: Aug 2004
Posts: 7,252
R
RusselB Offline
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
/sline in a custom window selects the specified line.

See /help /aline and look down 5 lines

Please note that I tried to make an @Window of my music, and while I don't remember how many files the @window did hold, I'm quite sure it was well under the 3000 mark.
By adding files/lines to the @Window that exceed the limit of the window, the top line(s) get lost.