mIRC Home    About    Download    Register    News    Help

Print Thread
.mrc... #73439 03/03/04 05:07 PM
Joined: Dec 2002
Posts: 86
Zmodem Offline OP
Babel fish
OP Offline
Babel fish
Joined: Dec 2002
Posts: 86
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
Re: .mrc... #73440 03/03/04 05:23 PM
Joined: Nov 2003
Posts: 2,327
T
tidy_trax Offline
Hoopy frood
Offline
Hoopy frood
T
Joined: Nov 2003
Posts: 2,327
i agree, .ini files are annoying to edit in notepad -_-


New username: hixxy
Re: .mrc... #73441 03/03/04 05:24 PM
Joined: Feb 2004
Posts: 124
T
TonyTheTiger Offline
Vogon poet
Offline
Vogon poet
T
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.
Re: .mrc... #73442 03/03/04 08:39 PM
Joined: Mar 2004
Posts: 5
J
JordanR Offline
Nutrimatic drinks dispenser
Offline
Nutrimatic drinks dispenser
J
Joined: Mar 2004
Posts: 5
Is there any difference besides .mrc and .ini besides the way it shows up in a text editor?


*--9--*
Re: .mrc... #73443 03/03/04 08:44 PM
Joined: Nov 2003
Posts: 2,327
T
tidy_trax Offline
Hoopy frood
Offline
Hoopy frood
T
Joined: Nov 2003
Posts: 2,327
file size wink


New username: hixxy
Re: .mrc... #73444 03/03/04 08:47 PM
Joined: Feb 2003
Posts: 2,669
Raccoon Online
Hoopy frood
Online
Hoopy frood
Joined: Feb 2003
Posts: 2,669
.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!
Re: .mrc... #73445 03/03/04 08:52 PM
Joined: Dec 2002
Posts: 1,922
O
Online Offline
Hoopy frood
Offline
Hoopy frood
O
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).

Re: .mrc... #73446 03/03/04 10:26 PM
Joined: Sep 2003
Posts: 584
B
bunar Offline
Fjord artisan
Offline
Fjord artisan
B
Joined: Sep 2003
Posts: 584
agreed

Re: .mrc... #73447 03/03/04 10:35 PM
Joined: Aug 2003
Posts: 1,831
I
Iori Offline
Hoopy frood
Offline
Hoopy frood
I
Joined: Aug 2003
Posts: 1,831
For me, *.ini;*.mrc is the default.

Re: .mrc... #73448 03/03/04 10:38 PM
Joined: Dec 2002
Posts: 1,922
O
Online Offline
Hoopy frood
Offline
Hoopy frood
O
Joined: Dec 2002
Posts: 1,922
You probably opened the load dialog from the Aliases/Popups tabs laugh

Re: .mrc... #73449 03/03/04 10:42 PM
Joined: Aug 2003
Posts: 1,831
I
Iori Offline
Hoopy frood
Offline
Hoopy frood
I
Joined: Aug 2003
Posts: 1,831
Nope, from any tab, and in a clean copy too. grin

You probably loaded a .txt or .doc file last time to get that

Re: .mrc... #73450 03/03/04 11:33 PM
Joined: Dec 2002
Posts: 1,922
O
Online Offline
Hoopy frood
Offline
Hoopy frood
O
Joined: Dec 2002
Posts: 1,922
Yes, you're right. I usually load .txt's to my remote, hence the pre-selected file type.

Re: .mrc... #73451 03/03/04 11:52 PM
Joined: Jan 2003
Posts: 3,012
KingTomato Offline
Hoopy frood
Offline
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 -----
Code:
[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
Re: .mrc... #73452 05/03/04 08:28 PM
Joined: Feb 2003
Posts: 810
C
cold Offline
Hoopy frood
Offline
Hoopy frood
C
Joined: Feb 2003
Posts: 810
It's not an unique ability, you can achieve the same results with any other file type...
Code:
#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
Re: .mrc... #73453 05/03/04 08:34 PM
Joined: Feb 2003
Posts: 2,669
Raccoon Online
Hoopy frood
Online
Hoopy frood
Joined: Feb 2003
Posts: 2,669
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!
Re: .mrc... #73454 05/03/04 08:37 PM
Joined: Feb 2003
Posts: 810
C
cold Offline
Hoopy frood
Offline
Hoopy frood
C
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
Re: .mrc... #73455 05/03/04 09:09 PM
Joined: Feb 2004
Posts: 124
T
TonyTheTiger Offline
Vogon poet
Offline
Vogon poet
T
Joined: Feb 2004
Posts: 124
Same here .. with no problems.