mIRC Home    About    Download    Register    News    Help

Print Thread
#53176 09/10/03 10:42 PM
Joined: Oct 2003
Posts: 10
T
Pikka bird
OP Offline
Pikka bird
T
Joined: Oct 2003
Posts: 10
simple problem, you want to check if a file has been /fopen 'd because the script halts if you try to open an already open file.

Problem is all the identifiers regarding the /fopen commands will halt when a non existing handle name is given. So writing a script with /fopen is useless. A Control-Break can prevent a script from closing the fopen file. And there is no way to check if it is open.

* Invalid parameters: $fopen


Joined: Feb 2003
Posts: 810
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Feb 2003
Posts: 810
Yeah frown. In the meanwhile, I'm using /fopen adding $ticks to some names here and there and never previously checking their existence.


* cold edits his posts 24/7
Joined: Oct 2003
Posts: 10
T
Pikka bird
OP Offline
Pikka bird
T
Joined: Oct 2003
Posts: 10
I found a work around to /fclose and all you gotta do is use a wildcard name. Its not very convenient but it can work crazy


Link Copied to Clipboard