mIRC Home    About    Download    Register    News    Help

Print Thread
#64055 14/12/03 01:17 PM
Joined: Feb 2003
Posts: 13
C
Pikka bird
OP Offline
Pikka bird
C
Joined: Feb 2003
Posts: 13
i often get this DCC Send of test.txt to *****: Unable to open file

What i need is to know how to echo to myself and the other person that this file does not exsist.

Any Help would be appreciated.

#64056 14/12/03 03:04 PM
Joined: Apr 2003
Posts: 414
Fjord artisan
Offline
Fjord artisan
Joined: Apr 2003
Posts: 414
Code:
;Syntax: FileExist path\filename RemoteUser
Alias FileExist {
  if ($isfile($1)) {
    echo -st $1 file exist
    msg $2 $1 file exist
  } 
  else {
    echo -st $1 file not exist
    msg $2 $1 file not exist
  }
}

ex. /FileExist mirc.exe Adrenalin


mIRC Chm Help 6.16.0.3 Full Anchored!

Link Copied to Clipboard