mIRC Home    About    Download    Register    News    Help

Print Thread
#261664 08/11/17 11:08 AM
Joined: Sep 2015
Posts: 101
klez Offline OP
Vogon poet
OP Offline
Vogon poet
Joined: Sep 2015
Posts: 101
Having this example:

Code:
/write test.txt " test


and executing:

Code:
/write -ds" test.txt


will return: * /write: invalid parameters

so, to delete avoiding this error we must execute:

Code:
if ($read(test.txt,nts,") != $null) write -dl $+ $readn test.txt


Can be checked somehow to not avoid errors on /write -ds" ?

Joined: Dec 2002
Posts: 5,420
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 5,420
Thanks for your bug report. This is by design. The /write -s switch supports quoting. This means that if you use an open quote, you must use a close quote. If you do not, it is treated as an error.


Link Copied to Clipboard