mIRC Home    About    Download    Register    News    Help

Print Thread
problem with saveini #118316 24/04/05 12:43 PM
Joined: Feb 2004
Posts: 119
D
da_hype Offline OP
Vogon poet
OP Offline
Vogon poet
D
Joined: Feb 2004
Posts: 119
Code:
alias _write.whois.state {
  saveini
  var %w = $puttok($readini(mirc.ini,options,n1),$1,19,44)
  writeini mirc.ini options n1 %w
}


when i type /_write.whois.state 1
it does change the value, but when i go to alt+o - IRC,
"whois on query" is unchecked. any idea why???

Re: problem with saveini #118317 24/04/05 12:53 PM
Joined: Jun 2003
Posts: 5,024
M
Mentality Offline
Hoopy frood
Offline
Hoopy frood
M
Joined: Jun 2003
Posts: 5,024
You are not supposed to edit the mirc.ini whilst mIRC is open. I should imagine you'd need to restart mIRC for the box to be checked.

Regards,


Mentality/Chris
Re: problem with saveini #118318 24/04/05 01:09 PM
Joined: Nov 2003
Posts: 2,327
T
tidy_trax Offline
Hoopy frood
Offline
Hoopy frood
T
Joined: Nov 2003
Posts: 2,327
mIRC updates the ini file when it exits so that wouldn't help either.


New username: hixxy
Re: problem with saveini #118319 24/04/05 01:13 PM
Joined: Feb 2004
Posts: 119
D
da_hype Offline OP
Vogon poet
OP Offline
Vogon poet
D
Joined: Feb 2004
Posts: 119
thanks...