mIRC Home    About    Download    Register    News    Help

Print Thread
#132915 15/10/05 06:58 PM
Joined: Sep 2004
Posts: 200
I
IR_n00b Offline OP
Fjord artisan
OP Offline
Fjord artisan
I
Joined: Sep 2004
Posts: 200
Whenever I try to do somthing like "/write ip.txt" (im using a script to keep track of IP changes, if any)
mIRC keeps giving me this error:

Quote:

* /write: unable to open file


I had a frend test it once, and he got the same error, so I suspedcted it being a bug, could anyone confirm this?

#132916 15/10/05 07:03 PM
Joined: Feb 2004
Posts: 2,019
Hoopy frood
Offline
Hoopy frood
Joined: Feb 2004
Posts: 2,019
This has been reported before atleast twice, for example here and here


Gone.
#132917 16/10/05 02:00 PM
Joined: Sep 2005
Posts: 2,881
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Sep 2005
Posts: 2,881
Use this:

Code:
alias validfn return $nofile($1) $+ $mkfn($nopath($1))


//write $validfn(ip.txt)

#132918 16/10/05 05:02 PM
Joined: Sep 2004
Posts: 200
I
IR_n00b Offline OP
Fjord artisan
OP Offline
Fjord artisan
I
Joined: Sep 2004
Posts: 200
i searched, and it filtered "ip" so it was hard to find it.
hixxy, thanks for the fix it works :tongue:


Link Copied to Clipboard