mIRC Home    About    Download    Register    News    Help

Print Thread
#101445 24/10/04 03:05 PM
Joined: Oct 2004
Posts: 1
A
Mostly harmless
OP Offline
Mostly harmless
A
Joined: Oct 2004
Posts: 1
This is my filecheck script;
Code:
alias filecheck {
;To use type /filecheck "file"
  set %lcv 1
  while ($read(files.txt,%lcv) != $null) {
    set %exist $+ %lcv $read(files.txt,%lcv)
    echo $read(files.txt,%lcv)
    inc %lcv
  }
  set %lcv1 1
  while (1) {
    if (%exist [ $+ [ %lcv1 ] ] != $1-) { inc %lcv1 | echo have not found $1- yet }
    if ($lines(files.txt) == %lcv1) { echo  $1- doesn't exist }
    else { echo found $1- | set %foundfile $1- }
  }
  unset %lcv
  unset %lcv1
  unset %exist*
}

***
You must have a file called "files.txt" in your mIRC directory with the filenames of the files you want to find.
This script is mainly used for XDCC.

#101446 24/10/04 03:23 PM
Joined: Feb 2004
Posts: 2,019
Hoopy frood
Offline
Hoopy frood
Joined: Feb 2004
Posts: 2,019
This script is pointless.

alias filecheck echo -a $iif($read(files.txt,w,$$1-),Found,Couldn't find) $1-


Gone.

Link Copied to Clipboard