mIRC Home    About    Download    Register    News    Help

Print Thread
Easy way to access mirc settings #194990
14/02/08 08:51 PM
14/02/08 08:51 PM
Joined: Aug 2006
Posts: 9
TX, USA
T
Tom_S Offline OP
Nutrimatic drinks dispenser
Tom_S  Offline OP
Nutrimatic drinks dispenser
T

Joined: Aug 2006
Posts: 9
TX, USA
I'm basically using the unsupported feature ^ and haltdef to reformat text, but the problem is that I still want to use some of the features from the default mIRC text output..

In my client, I have the Timestamps with format "<hh:nn:ss tt>" enabled.. The default output looks like this:

<02:43:25 pm> <ForeverCloudX> blah blah blah

My script reformats the text to look like this:

<02:43:25 pm> (ForeverCloudX) blah blah blah

Now, other users might not want timestamps. So I had 2 options, either turn the timestamps on and off repeatedly until i figured out what in mirc.ini changed and then check that with $gettok .. or write up a dialog to enable timestamps separately from the mirc options..

I chose the former, because it is easier and less confusing for users. My feature request is to add in identifiers to check the mIRC options .. This would not only apply to timestamps, but to other options as well, such as the short joins/parts, what to show in the active window, whether to use a single query window for /msg, and whether to show user addresses.

I just think it would encourage more people to write their own text formatting scripts if it was easier to access the mirc options from within script code.

Last edited by Tom_S; 14/02/08 08:51 PM.
Re: Easy way to access mirc settings [Re: Tom_S] #194991
14/02/08 08:56 PM
14/02/08 08:56 PM
Joined: Dec 2002
Posts: 2,010
R
RoCk Offline
Hoopy frood
RoCk  Offline
Hoopy frood
R

Joined: Dec 2002
Posts: 2,010

Check out the very cool mIRC.ini Unleashed by Merlin.

$gettok($readini($mircini,options,n4),12,44)

~ Edit ~
Originally Posted By: Tom_S

I'm basically using the unsupported feature ^ and haltdef


Why do you say those are unsupported?

Re: Easy way to access mirc settings [Re: Tom_S] #194993
14/02/08 09:18 PM
14/02/08 09:18 PM
Joined: Dec 2002
Posts: 2,010
R
RoCk Offline
Hoopy frood
RoCk  Offline
Hoopy frood
R

Joined: Dec 2002
Posts: 2,010

Re: Easy way to access mirc settings [Re: Tom_S] #194994
14/02/08 09:21 PM
14/02/08 09:21 PM
Joined: Dec 2002
Posts: 503
Melbourne, Australia
B
Bekar Offline
Fjord artisan
Bekar  Offline
Fjord artisan
B

Joined: Dec 2002
Posts: 503
Melbourne, Australia
Ok, dumb question.. Are you using 'echo -t....' to echo the in-built timestamp for the window?