|
Joined: Dec 2002
Posts: 87
Babel fish
|
OP
Babel fish
Joined: Dec 2002
Posts: 87 |
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?
-Zmodem
|
|
|
|
Joined: Nov 2003
Posts: 2,327
Hoopy frood
|
Hoopy frood
Joined: Nov 2003
Posts: 2,327 |
i agree, .ini files are annoying to edit in notepad -_-
New username: hixxy
|
|
|
|
Joined: Feb 2004
Posts: 124
Vogon poet
|
Vogon poet
Joined: Feb 2004
Posts: 124 |
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.
|
|
|
|
Joined: Mar 2004
Posts: 5
Nutrimatic drinks dispenser
|
Nutrimatic drinks dispenser
Joined: Mar 2004
Posts: 5 |
Is there any difference besides .mrc and .ini besides the way it shows up in a text editor?
*--9--*
|
|
|
|
Joined: Nov 2003
Posts: 2,327
Hoopy frood
|
Hoopy frood
Joined: Nov 2003
Posts: 2,327 |
file size
New username: hixxy
|
|
|
|
Joined: Feb 2003
Posts: 2,812
Hoopy frood
|
Hoopy frood
Joined: Feb 2003
Posts: 2,812 |
.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,922
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 1,922 |
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).
|
|
|
|
Joined: Sep 2003
Posts: 584
Fjord artisan
|
Fjord artisan
Joined: Sep 2003
Posts: 584 |
|
|
|
|
Joined: Aug 2003
Posts: 1,831
Hoopy frood
|
Hoopy frood
Joined: Aug 2003
Posts: 1,831 |
For me, *.ini;*.mrc is the default.
|
|
|
|
Joined: Dec 2002
Posts: 1,922
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 1,922 |
You probably opened the load dialog from the Aliases/Popups tabs
|
|
|
|
Joined: Aug 2003
Posts: 1,831
Hoopy frood
|
Hoopy frood
Joined: Aug 2003
Posts: 1,831 |
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,922
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 1,922 |
Yes, you're right. I usually load .txt's to my remote, hence the pre-selected file type.
|
|
|
|
Joined: Jan 2003
Posts: 3,012
Hoopy frood
|
Hoopy frood
Joined: Jan 2003
Posts: 3,012 |
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.
-KingTomato
|
|
|
|
Joined: Feb 2003
Posts: 810
Hoopy frood
|
Hoopy frood
Joined: Feb 2003
Posts: 810 |
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)
* cold edits his posts 24/7
|
|
|
|
Joined: Feb 2003
Posts: 2,812
Hoopy frood
|
Hoopy frood
Joined: Feb 2003
Posts: 2,812 |
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: 810
Hoopy frood
|
Hoopy frood
Joined: Feb 2003
Posts: 810 |
Hrm, what kind of problems? I know I've been using them like that for a long time and no problems have ever happened.
* cold edits his posts 24/7
|
|
|
|
Joined: Feb 2004
Posts: 124
Vogon poet
|
Vogon poet
Joined: Feb 2004
Posts: 124 |
Same here .. with no problems.
|
|
|
|
|