|
Joined: Dec 2002
Posts: 85
Babel fish
|
OP
Babel fish
Joined: Dec 2002
Posts: 85 |
Not really a MAJOR feature, but I'd like to see the default created script files (Aliases/Remotes) be defaulted with the extension .mrc instead of .ini, seeing as how .mrc has inevitably become the standard of mIRC script files. Anyhow, more like a personal preference, really; anyone else?
|
|
|
|
Joined: Nov 2003
Posts: 2,321
Hoopy frood
|
Hoopy frood
Joined: Nov 2003
Posts: 2,321 |
i agree, .ini files are annoying to edit in notepad -_-
|
|
|
|
TonyTheTiger
|
TonyTheTiger
|
yeah .. it should have been changed when .mrc was introduced really.
Edit: .. although I still would like the choice to use .ini
Last edited by TonyTheTiger; 03/03/04 05:25 PM.
|
|
|
|
JordanR
|
JordanR
|
Is there any difference besides .mrc and .ini besides the way it shows up in a text editor?
|
|
|
|
Joined: Nov 2003
Posts: 2,321
Hoopy frood
|
Hoopy frood
Joined: Nov 2003
Posts: 2,321 |
file size
|
|
|
|
Joined: Feb 2003
Posts: 2,737
Hoopy frood
|
Hoopy frood
Joined: Feb 2003
Posts: 2,737 |
.mrc is simply a flat file, an unformatted text file. as a matter of fact, you may use -any- extension, except .ini, to acheive this effect. But I agree, the default filetype should be non-ini.
Well. At least I won lunch. Good philosophy, see good in bad, I like!
|
|
|
|
Joined: Dec 2002
Posts: 1,893
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 1,893 |
And in the load dialog (Alt+R -> File -> Load), it would be nice to have this selection as default: *.txt;*.ini;*.mrc (right now it's *.txt;*.doc and I often find myself playing with this option before I can select the desired script file).
|
|
|
|
Iori
|
Iori
|
For me, *.ini;*.mrc is the default.
|
|
|
|
Joined: Dec 2002
Posts: 1,893
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 1,893 |
You probably opened the load dialog from the Aliases/Popups tabs
|
|
|
|
Iori
|
Iori
|
Nope, from any tab, and in a clean copy too.  You probably loaded a .txt or .doc file last time to get that
|
|
|
|
Joined: Dec 2002
Posts: 1,893
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 1,893 |
Yes, you're right. I usually load .txt's to my remote, hence the pre-selected file type.
|
|
|
|
Joined: Jan 2003
Posts: 2,973
Hoopy frood
|
Hoopy frood
Joined: Jan 2003
Posts: 2,973 |
I agree. The .mrc file should be the default file type, but .ini should also be offered. The only benefit the .ini file has over mrc is its unique ability to store other information as well as just the script. i.e. ----- Script.ini -----
[Network]
KingTomato=MyPassword
[Remote]
n0=on *:CONNECT: {
n1= if ($readini($script, $network, $me)) /nickserv identify $ifmatch
n2=}
----- /Script.ini ----- Where you can have settings stored in the same file. Otherwise, ini's are just larger in size, and harder to edit externallty.
|
|
|
|
Joined: Feb 2003
Posts: 806
Hoopy frood
|
Hoopy frood
Joined: Feb 2003
Posts: 806 |
It's not an unique ability, you can achieve the same results with any other file type...
#ini off
[Network]
KingTomato=MyPassword
#ini end
on *:CONNECT: {
if ($readini($script, $network, $me)) /nickserv identify $ifmatch
}
...Provided that you'll always put the INI group before everything in the file, so $readini wouldn't completely mess up your script where it finds chars like '[', ']' and '=', searching for sections and items. (Group usage is just a precaution, hopefully you wouldn't really need one)
|
|
|
|
Joined: Feb 2003
Posts: 2,737
Hoopy frood
|
Hoopy frood
Joined: Feb 2003
Posts: 2,737 |
But it's not a great idea to use a loaded script file as an INI file too. You will have write conflicts when INI cache is flushed to file, especially if you edit your script or toggle (.enable/.disable) any other #groups in the script.
- Raccoon
Well. At least I won lunch. Good philosophy, see good in bad, I like!
|
|
|
|
Joined: Feb 2003
Posts: 806
Hoopy frood
|
Hoopy frood
Joined: Feb 2003
Posts: 806 |
Hrm, what kind of problems? I know I've been using them like that for a long time and no problems have ever happened.
|
|
|
|
TonyTheTiger
|
TonyTheTiger
|
Same here .. with no problems.
|
|
|
|
|