mIRC Home    About    Download    Register    News    Help

Print Thread
#200933 15/06/08 05:13 AM
Joined: Nov 2007
Posts: 117
T
Vogon poet
OP Offline
Vogon poet
T
Joined: Nov 2007
Posts: 117
alias mostrar {
var %ti = 1
while (%ti <= 195) {
echo -a $read($1,%ti)
inc %ti
}

Opening - http://rapidshare.com/files/74328448/Yu-Gi-Ho___20-_20Opening.rar
Ending - http://rapidshare.com/files/74329170/Yu-Gi-Ho___20-_20Ending.rar
Cap 50 - El Duelista Misterioso 1ª Parte.
http://rapidshare.com/files/74274058/Yu-Gi-OH__20-_20050.part1.rar
http://rapidshare.com/files/74274648/Yu-Gi-OH__20-_20050.part2.rar
* /echo: insufficient parameters (line 4, script10.ini)

this the error i dont know how i do wtrong , any help

TheWarlock #200934 15/06/08 06:32 AM
Joined: Aug 2006
Posts: 183
T
Vogon poet
Offline
Vogon poet
T
Joined: Aug 2006
Posts: 183
Chances are whatever you're using for $1 is invalid. So, what are you using?


Yar
Thrull #200937 15/06/08 06:49 AM
Joined: Nov 2007
Posts: 117
T
Vogon poet
OP Offline
Vogon poet
T
Joined: Nov 2007
Posts: 117
the name of file to be downlad

TheWarlock #200938 15/06/08 07:08 AM
Joined: Aug 2006
Posts: 183
T
Vogon poet
Offline
Vogon poet
T
Joined: Aug 2006
Posts: 183
Ummm. $read only works on text files. /help $read would explain it. If you're trying to download things, you'd need to use sockets. But unless you've had some experience using them, it might be a bit much.


Yar
Thrull #200940 15/06/08 07:14 AM
Joined: Nov 2007
Posts: 117
T
Vogon poet
OP Offline
Vogon poet
T
Joined: Nov 2007
Posts: 117
i use a txt file for read
thnx

TheWarlock #200943 15/06/08 08:17 AM
Joined: Aug 2006
Posts: 183
T
Vogon poet
Offline
Vogon poet
T
Joined: Aug 2006
Posts: 183
Then it ought to work fine. Make sure whatever you're reading exists and is in the proper directory. It should work just fine.


Yar
TheWarlock #200950 15/06/08 12:26 PM
Joined: Aug 2003
Posts: 144
M
Vogon poet
Offline
Vogon poet
M
Joined: Aug 2003
Posts: 144
Hi.


Check if the $read parameter is not reading a blanck line. If he is that will give that error. To check that put for example:.
echo -s Line %Ti --> $read($1,%ti)

if the output appears only "Line x -->" it´s becouse somewhery on file you have blanckline.

Good luck

Last edited by Miguel_A; 15/06/08 12:27 PM.
TheWarlock #200973 16/06/08 01:35 AM
Joined: Sep 2007
Posts: 109
K
Vogon poet
Offline
Vogon poet
K
Joined: Sep 2007
Posts: 109
Prueba con...

Code:
alias mostrar {
  var %ti = 1
  while (%ti <= $lines($1)) { 
    if ($read($1,%ti)) echo -a $read($1,%ti)
    inc %ti
  }
}


Maybe the mistake is in the white lines

kwell #200978 16/06/08 04:23 AM
Joined: Nov 2007
Posts: 117
T
Vogon poet
OP Offline
Vogon poet
T
Joined: Nov 2007
Posts: 117
simple great, thnx so much

Miguel_A #200979 16/06/08 04:25 AM
Joined: Nov 2007
Posts: 117
T
Vogon poet
OP Offline
Vogon poet
T
Joined: Nov 2007
Posts: 117
thnx to all


Link Copied to Clipboard