mIRC Home    About    Download    Register    News    Help

Print Thread
/log and using quotes #188747 29/10/07 10:19 PM
Joined: May 2007
Posts: 27
V
Vliedel Offline OP
Ameglian cow
OP Offline
Ameglian cow
V
Joined: May 2007
Posts: 27
/log @window -f "file" did work in 6.2 but in 6.3 it doesn't work anymore. Of course it's not a big issue, as without quotes it's working fine, but I didn't know what was wrong when i got this error since most commands having filenames as parameter accept/need quotes.

Perhaps you like to fix this for others (i already changed my script)

Re: /log and using quotes [Re: Vliedel] #188771 30/10/07 08:45 AM
Joined: Oct 2003
Posts: 3,918
A
argv0 Offline
Hoopy frood
Offline
Hoopy frood
A
Joined: Oct 2003
Posts: 3,918
The convention that seems to exist in mIRC is that filenames should only take quotes if they can be used as something besides the last argument. In the case of /log, the filename will always be the last argument (if it's provided at all), so there's no quotes required.

I wouldn't call this a bug because it's consistent. it's just a change.. and change is inevitable.


- argv[0] on EFnet #mIRC
- "Life is a pointer to an integer without a cast"
Re: /log and using quotes [Re: argv0] #188823 30/10/07 11:39 PM
Joined: Dec 2002
Posts: 2,962
S
starbucks_mafia Offline
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 2,962
It seems like it's a bug. Obviously because of mIRC's syntax there are some commands that require the quotes, but any command/identifier that takes a pathname should accept quotes even if it doesn't require them.


Spelling mistakes, grammatical errors, and stupid comments are intentional.
Re: /log and using quotes [Re: Vliedel] #189492 08/11/07 09:28 AM
Joined: Dec 2002
Posts: 4,727
Khaled Offline
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 4,727
Thanks this has been fixed for the next version.