mIRC Homepage
Posted By: PhantasyX Possible remove bug? - 20/08/05 12:43 AM
Possible remove bug.
Here is my code:

Code:
remove { !remove $+($chr(44),$remove($1-,$chr(34)),$chr(44)) }


Example command:

/remove "C:\music\Usher - Burn.mp3"


(Yes, this file exist)

Output:

* /remove: no such file 'C:\mIRC\,C:\music\Usher'


Fixed easily by:

Code:
remove { !remove " $+ $remove($1-,$chr(34)) $+ " }


Output:

Correctly removes the file.
Posted By: argv0 Re: Possible remove bug? - 20/08/05 05:29 AM
How the heck is that a bug?

/remove ,FILE, isnt a valid usage of the command to begin with

[ $chr(44) == , (comma), not a quotation mark ]
Posted By: ClickHeRe Re: Possible remove bug? - 20/08/05 01:21 PM
that's a very good example of people not echoing their incorrect line to see the output before crying for a bug ...
Posted By: DaveC Re: Possible remove bug? - 23/08/05 04:10 AM
>remove { !remove $+($chr(44),$remove($1-,$chr(34)),$chr(44)) }

I find it incredibile that ya managed to know to remove the " with chr$(34) and then didnt know to put them in using $chr(34), or just use "
Posted By: PhantasyX Re: Possible remove bug? - 29/08/05 09:49 PM
ROFL- my bad, didn't realised I had chr 44 ;/
© mIRC Discussion Forums