mIRC Home    About    Download    Register    News    Help

Print Thread
#163332 28/10/06 08:08 PM
Joined: May 2006
Posts: 15
L
liftman Offline OP
Pikka bird
OP Offline
Pikka bird
L
Joined: May 2006
Posts: 15
hi!

how i can change and/or hide the error message like this:

* /load: no such file 'C:\mIRC\somescript.mrc'

tnx!

#163333 28/10/06 08:45 PM
Joined: Jan 2003
Posts: 2,973
K
Hoopy frood
Offline
Hoopy frood
K
Joined: Jan 2003
Posts: 2,973
use $isfile(...) before attempting to load it.

if ($isFile(script.mrc)) /load -rs script.mrc

#163334 28/10/06 09:43 PM
Joined: May 2006
Posts: 15
L
liftman Offline OP
Pikka bird
OP Offline
Pikka bird
L
Joined: May 2006
Posts: 15
Quote:
use $isfile(...) before attempting to load it.

if ($isFile(script.mrc)) /load -rs script.mrc


good, tnx!

best regards smile


Link Copied to Clipboard