mIRC Home    About    Download    Register    News    Help

Print Thread
#179850 28/06/07 07:43 PM
Joined: Feb 2006
Posts: 307
N
Fjord artisan
OP Offline
Fjord artisan
N
Joined: Feb 2006
Posts: 307
if I install newest version in the version 6.17 it will break my preferences and settings?

nataliad #179853 28/06/07 08:18 PM
Joined: Dec 2002
Posts: 3,547
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,547
I think if you use the same mIRC.ini file all settings will be resored on your updated version.

SladeKraven #179860 29/06/07 12:21 AM
Joined: Feb 2006
Posts: 307
N
Fjord artisan
OP Offline
Fjord artisan
N
Joined: Feb 2006
Posts: 307
dunno for other settings, but I cant move my ignore,protect lists

I am frustrated

nataliad #179862 29/06/07 01:09 AM
Joined: Dec 2002
Posts: 3,547
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,547
Simply put this in your old mIRC's (not the latest version) Remote Scripts Editor (Alt + R).

Then type /getlists.

Remember to change the part where I said path to new mIRC as this will write a couple of text files into your new mIRC directory.

Code:
alias getlists {
  write -c ignore.txt
  write -c protect.txt
  var %x = 1,%y = 1, %z = 1
  while (%x <= $ignore(0)) {
    write Path of new mIRC folder\ignore.txt ignore $ignore(%x)
    inc %x
  }
  while (%y <= $protect(0)) {
    write Path of new mIRC folder\protect.txt protect $protect(%y)
    inc %y
  }
}


Once you have typed /getlists you should then type each of the following:

/play -cs ignore.txt 10
/play -cs protect.txt 10

This plays the file, and will load all of your Ignored, Notified and Protected users from your old mIRC.

nataliad #179864 29/06/07 02:01 AM
Joined: Nov 2006
Posts: 1,559
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Nov 2006
Posts: 1,559
Absolutely nice idea... one little suggestion:
The types and the network of the ignores can be added, also the $protect(N).type (which contains the chans to protect):

Code:
alias getlists {
  write -c ignore.txt
  write -c protect.txt
  var %x = 1,%y = 1, %z = 1
  while (%x <= $ignore(0)) {
    write Path of new mIRC folder\ignore.txt ignore $ignore(%x) $iif(($remove($replace($ignore(%x).type,private,p,channel,c,notice,n,ctcp,t,invite,i,codes,k,dcc,d),$chr(44))),$+(-,$ifmatch)) $ignore(%x).network
    inc %x
  }
  while (%y <= $protect(0)) {
    write Path of new mIRC folder\protect.txt protect -w $protect(%y) $protect(%y).type
    inc %y
  }
}


I noticed a little problem with $protect(%y).network : typing
Code:
/!protect Test!*@* #test1,#test2 Testnetwork

and checking my address book, the network was included as a channel, although mirc.chm states:
Quote:
/protect [-rw] <on|off|nick> [#channel1,#channel2,...] [type] [network]

So, I used the -w switch (protect at any network)

Horstl #179866 29/06/07 02:14 AM
Joined: Dec 2002
Posts: 3,547
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,547
Ah right, well I'll go for whatever you say. I've never used the protect feature. smile

nataliad #179867 29/06/07 02:28 AM
Joined: Nov 2006
Posts: 1,559
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Nov 2006
Posts: 1,559
$me alike... $me was just bemused smile

Horstl #179871 29/06/07 03:29 AM
Joined: Aug 2004
Posts: 7,252
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
Horstl: The normal /protect command uses a nick with an optional mask number, not an address

RusselB #179898 30/06/07 12:51 AM
Joined: Feb 2006
Posts: 307
N
Fjord artisan
OP Offline
Fjord artisan
N
Joined: Feb 2006
Posts: 307
can you tell me please the full prodecure

nataliad #180048 02/07/07 10:40 PM
Joined: Feb 2006
Posts: 307
N
Fjord artisan
OP Offline
Fjord artisan
N
Joined: Feb 2006
Posts: 307
frown

nataliad #180052 03/07/07 12:15 AM
Joined: Nov 2006
Posts: 1,559
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Nov 2006
Posts: 1,559
1) Copy the last alias "getlists" postet in this thread and paste it to remotes in your OLD mIRC.

2) Change the two occurances of "Path of new mIRC folder" in "alias getlists" to... the Path of new mIRC folder smile

eg:
"write Path of new mIRC folder\ignore.txt ignore $ignore(%x) $iif( ..."
will become
"write C:\programs\mirc\ignore.txt ignore $ignore(%x) $iif( ..."
in alias getlists

(If you are unsure which path to choose, start your NEW mIRC and type //echo $mircdir )

3) Run the alias in you OLD mIRC, by typing: /getlists
Now 2 new files should appear in the Path of new mIRC folder, called "ignore.txt" and "protect.txt".

4) Open your NEW mIRC.

5) Type in your NEW mIRC: /play -cs ignore.txt 10

6) Type in your NEW mIRC: /play -cs protect.txt 10

7) Check the address book of your NEW mIRC.

Horstl #180060 03/07/07 02:40 AM
Joined: Feb 2006
Posts: 307
N
Fjord artisan
OP Offline
Fjord artisan
N
Joined: Feb 2006
Posts: 307
ok

just one question:
I copy-paste the control.ini file of my old mirc folder to the new one and it didnt work

I open control.ini of the old and new mirc and I saw the structure is the same

I open the old control.ini and copied the text content and I pasted it to the new control.ini and it works now

but when I restarted mirc, the entries were lost

why this happens?

whistle

Last edited by nataliad; 03/07/07 03:18 AM.
nataliad #180219 06/07/07 12:14 AM
Joined: Feb 2006
Posts: 307
N
Fjord artisan
OP Offline
Fjord artisan
N
Joined: Feb 2006
Posts: 307
can you explain me please


Link Copied to Clipboard