mIRC Homepage
Posted By: m1rcNb sockopen - 21/11/04 02:12 AM
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
}
Posted By: tidy_trax Re: sockopen - 21/11/04 02:23 AM
Don't be an idiot, nobody is going to help you with your clone flooder here.
Posted By: m1rcNb Re: sockopen - 21/11/04 02:28 AM
Its not suppose to flood !

But i see and understand what u mean.
Posted By: Coolkill Re: sockopen - 21/11/04 04:16 PM
Although, that code won't work 'as-expected' even if you did fix the error.

Eamonn.
Posted By: m1rcNb Re: sockopen - 21/11/04 10:02 PM
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
© mIRC Discussion Forums