mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Nov 2006
Posts: 1,559
H
Horstl Offline OP
Hoopy frood
OP Offline
Hoopy frood
H
Joined: Nov 2006
Posts: 1,559
If the section doesn't contain any item, /remini <inifile> <section> isn't removing the specified section from the file.
(v6.35 on WinXP, original thread/example code )

Thanks smile

Joined: Dec 2002
Posts: 87
Babel fish
Offline
Babel fish
Joined: Dec 2002
Posts: 87
Confirmed here: mIRC 6.35 + WinXP SP3

A workaround for now:

Code:
alias _remini {
   :1
   .remini $1-
   if (!$3-) {
      if ($ini($1,$2)) { .writeini $1 $2 . . | goto 1 }
   }
}


-Zmodem

Link Copied to Clipboard