mIRC Home    About    Download    Register    News    Help

Print Thread
#225402 01/09/10 03:20 PM
Joined: Sep 2010
Posts: 12
Pikka bird
OP Offline
Pikka bird
Joined: Sep 2010
Posts: 12
Hi there!
You may notice some mistakes in my English, it's just because I'm from Italy.
However my problem is:
When I edit manually perform.ini, mirc doesn't read the changes... so I need to close and reopen mirc.
Hwo can I resolve it?
thanks

Matt5150 #225406 01/09/10 03:36 PM
Joined: Jun 2007
Posts: 933
5
Hoopy frood
Offline
Hoopy frood
5
Joined: Jun 2007
Posts: 933
You can't.

Close mIRC and edit perform.ini or edit it from inside mIRC.

Matt5150 #225407 01/09/10 03:40 PM
Joined: Aug 2010
Posts: 134
T
Vogon poet
Offline
Vogon poet
T
Joined: Aug 2010
Posts: 134
You should change perform.ini using the mIRC interface (Alt-O, Connect, Options, Perform).

If for some reason you want to be able to edit the code from outside mIRC, it might be smarter to work with an on connect event, which basically does the same thing as the perform.ini, but mIRC detects changes made to the script.ini file. (Still, modifying files externally that are in use by mIRC is not a smart thing.)

Code:
on *:connect: {
  if $network == A {
    dostuffhere
  }
  elseif $network == B {
    dostuffhere
  }
  elseif $network == C {
    dostuffhere
  }
  else {
    dostuffhere
  }
}


Learning something new every day.
Matt5150 #225432 02/09/10 12:43 AM
Joined: Jan 2007
Posts: 1,156
D
Hoopy frood
Offline
Hoopy frood
D
Joined: Jan 2007
Posts: 1,156
Just so you know, when mIRC starts it loads these files & all script files into its internal memory. You can edit them from the remote editor. Alt + R. Then click View to see the different options.

When mIRC closes it saves all the files it has loaded to its internal memory. So if you manually edit one of these files, not only will you not see it in an already running mirc, mirc will overwrite them when it closes.


Link Copied to Clipboard