mIRC Home    About    Download    Register    News    Help

Print Thread
#103436 21/11/04 02:12 AM
Joined: Nov 2004
Posts: 8
M
m1rcNb Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
M
Joined: Nov 2004
Posts: 8
sockopen

I was wondering if anybody could tell me why the following code produces a insufficient parameter error in line 4

line 4: sockopen clone $+ $r(1,999999) $read(w.txt)
w.txt is in de $mircdir $isfile(w.txt) returned -> $true

Code:
alias loadproxys {
  set -q %num 1
  :loop
  sockopen clone $+ $r(1,999999) $read(w.txt)
  inc %num
  if (%num == 2) { halt | haltdef }
  else goto loop
}

#103437 21/11/04 02:23 AM
Joined: Nov 2003
Posts: 2,327
T
Hoopy frood
Offline
Hoopy frood
T
Joined: Nov 2003
Posts: 2,327
Don't be an idiot, nobody is going to help you with your clone flooder here.


New username: hixxy
#103438 21/11/04 02:28 AM
Joined: Nov 2004
Posts: 8
M
m1rcNb Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
M
Joined: Nov 2004
Posts: 8
Its not suppose to flood !

But i see and understand what u mean.

#103439 21/11/04 04:16 PM
Joined: Dec 2002
Posts: 788
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 788
Although, that code won't work 'as-expected' even if you did fix the error.

Eamonn.

#103440 21/11/04 10:02 PM
Joined: Nov 2004
Posts: 8
M
m1rcNb Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
M
Joined: Nov 2004
Posts: 8
Indeed it doesnt work as i expected, i did fix the error. ( it was something in the text file itself. )

There are some errors being returned in a other part of the script. however i will try to fix that smile and see where that will get me.

Even if it wont work as i hoped it to work, i atleast learned something out of all of this smile


Link Copied to Clipboard