mIRC Home    About    Download    Register    News    Help

Print Thread
#166345 09/12/06 07:22 PM
Joined: Apr 2005
Posts: 1,008
R
raZOR Offline OP
Hoopy frood
OP Offline
Hoopy frood
R
Joined: Apr 2005
Posts: 1,008
where does mirc save these settings:


raZOR #166347 09/12/06 08:07 PM
Joined: Mar 2003
Posts: 611
B
Fjord artisan
Offline
Fjord artisan
B
Joined: Mar 2003
Posts: 611
i dont think it stores them in any file, not that I can find anyhow.

I tried opening various .ini files with textpad then changing the colour then closing mirc, textpad then tells me if mirc has tried to change any of the files. scanning thru the changed files I could see nothing that shows where the colour settings are.

btk


billythekid
billythekid #166378 10/12/06 01:54 AM
Joined: Apr 2005
Posts: 1,008
R
raZOR Offline OP
Hoopy frood
OP Offline
Hoopy frood
R
Joined: Apr 2005
Posts: 1,008
guess until comand line changeing isnt added we're fucked

raZOR #166442 11/12/06 01:23 AM
Joined: Jul 2006
Posts: 107
L
Vogon poet
Offline
Vogon poet
L
Joined: Jul 2006
Posts: 107
The following information is taken from Merlin's 'mIRC.ini Unleashed' (a very handy resource)

The lastest version, available from MISHScript , is for mIRC v6.17.
But these settings seem to be the same in mIRC v6.21

They are in the mirc.ini, albeit cryptically, under the [options] heading.

The values are from 0 to 15, corresponding to your mirc color palette.


Events color: n4 - position 31

Message color: n4 - position 28

Highlight color: n6 - position 31

LonDart #166501 11/12/06 05:44 PM
Joined: Apr 2005
Posts: 1,008
R
raZOR Offline OP
Hoopy frood
OP Offline
Hoopy frood
R
Joined: Apr 2005
Posts: 1,008
so how to edit that without screwing other setup?

n4=1,1,1,1,0,0,9999,1,0,0,0,1,1024,0,1,9999,120,0,0,0,0,1,1,3,1,4000,1,11,0,0,11,0,1,1,0,0,1

coz i dont think mirc allowes mirc.ini changes during its run.

Last edited by raZOR; 11/12/06 05:48 PM.
raZOR #166519 11/12/06 10:12 PM
Joined: Oct 2004
Posts: 8,061
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Oct 2004
Posts: 8,061
I've never tried anything like it, but you could attempt to edit them for use while it is running, then when you quit mIRC, use an on QUIT event to write them again. I don't know if that will work, or not. It's worth a try.

Alternatively, you could change the setting while running mIRC and save the settings as a variable, then have the script automatically change them to what the variable is set to on START.

Riamus2 #166535 12/12/06 12:17 AM
Joined: Apr 2005
Posts: 1,008
R
raZOR Offline OP
Hoopy frood
OP Offline
Hoopy frood
R
Joined: Apr 2005
Posts: 1,008
problem is i need it "on the fly" (theme use) :P
guess kmd didnt saw this usefull for last release....
maybe in 6 months then -_-

raZOR #166540 12/12/06 05:06 AM
Joined: Oct 2006
Posts: 166
B
Vogon poet
Offline
Vogon poet
B
Joined: Oct 2006
Posts: 166
point at which data and/or lines you want to edit. with the edit you want so i can help you out.

b1ink #166579 12/12/06 04:21 PM
Joined: Apr 2005
Posts: 1,008
R
raZOR Offline OP
Hoopy frood
OP Offline
Hoopy frood
R
Joined: Apr 2005
Posts: 1,008
mirc.ini
[options]
n0=...
n1=...
n2=...
n3=...
n4=1,1,1,1,0,0,9999,1,0,0,0,1,1024,0,1,9999,120,0,0,0,0,1,1,3,1,4000,1,11,0,0,11,0,1,1,0,0,1

colored in red (with any number 0-15)

but as told, i dont know if mirc accepts changes imediately (which i need) -_-

Last edited by raZOR; 12/12/06 04:22 PM.
raZOR #166582 12/12/06 04:42 PM
Joined: Apr 2004
Posts: 755
M
Hoopy frood
Offline
Hoopy frood
M
Joined: Apr 2004
Posts: 755
You can write to the ini file while mIRC is running but you need to make mIRC reapply the settings someway. For instance if you change the colours you'll need to call /color [some switches i dont know without looking up] afterwards.

Mpdreamz #166585 12/12/06 05:14 PM
Joined: Apr 2005
Posts: 1,008
R
raZOR Offline OP
Hoopy frood
OP Offline
Hoopy frood
R
Joined: Apr 2005
Posts: 1,008
another dead end smile

raZOR #166586 12/12/06 05:17 PM
Joined: Feb 2003
Posts: 3,412
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Feb 2003
Posts: 3,412
do you use /who in your script? when join a channel, and if other joining? then you can color the nick or text from that information..


sparta #166592 12/12/06 06:45 PM
Joined: Apr 2005
Posts: 1,008
R
raZOR Offline OP
Hoopy frood
OP Offline
Hoopy frood
R
Joined: Apr 2005
Posts: 1,008
this is what im after for:



not nicklist higlight or some text :P
coz if user uses themes, especialy with changed font color and background then switchbar/treebar windows stay the same color
always, and you cant change them on the fly (which sux)

well hope you understand :P



Last edited by raZOR; 12/12/06 06:47 PM.
raZOR #166596 12/12/06 07:14 PM
Joined: Mar 2003
Posts: 611
B
Fjord artisan
Offline
Fjord artisan
B
Joined: Mar 2003
Posts: 611
you could write a .bat to execute when mirc closes that pause a second or 2, writes the line to the mirc.ini, then reopens mirc. I reckon that'd be the easiest way.

Course it's not truly "on the fly" but at least it would accept the changes.

btk

Last edited by billythekid; 12/12/06 07:15 PM.

billythekid
billythekid #166609 12/12/06 09:47 PM
Joined: Apr 2005
Posts: 1,008
R
raZOR Offline OP
Hoopy frood
OP Offline
Hoopy frood
R
Joined: Apr 2005
Posts: 1,008
nah.. that ruins the point in changeing themes.
guess ill wait until this feature comes in

if it comes at all...


Link Copied to Clipboard