mIRC Home    About    Download    Register    News    Help

Print Thread
hmm.. now im back asking again #40460 07/08/03 11:07 PM
Joined: Feb 2003
Posts: 3,432
S
sparta Offline OP
Hoopy frood
OP Offline
Hoopy frood
S
Joined: Feb 2003
Posts: 3,432
i trying to write to "mirc.ini" and place the text i added below "[highlight]", but all i get is "/writeini: insufficient parameters", i have been trying this many ways, and cant solve it.. if i make a own ini file, then its easy to write to it.

"writeini config.ini main autojoin on"

will put: "autojoin on" below the "[main]" why dont that work on mirc.ini ?? smirk and no, its not write protected, sorry for asking so much, but dont know where to ask, and i get great help here from u dudes wink confused


if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }
Re: hmm.. now im back asking again #40461 07/08/03 11:15 PM
Joined: Dec 2002
Posts: 3,547
S
SladeKraven Offline
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,547
It works for me:
[Main]
Autojoin=on

/writeini mIRC.ini Main Autojoin on

Re: hmm.. now im back asking again #40462 07/08/03 11:26 PM
Joined: Feb 2003
Posts: 3,432
S
sparta Offline OP
Hoopy frood
OP Offline
Hoopy frood
S
Joined: Feb 2003
Posts: 3,432
yes it works.. but how can i make it so it see where to add?? the mirc.ini have: n1=somthing n2=somthing .. and i want to make it so i can add words to highlight without using mirc's own dialog for it.. and if i trying to add it as it looks like:

n1=6,0,0,0,,,"word",0

then i get errror, and also how can i make the writeini command to see what to add.. after n1= comes n2= and so on.. thats the problem i have now :tongue:


if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }
Re: hmm.. now im back asking again #40463 08/08/03 12:30 AM
Joined: Feb 2003
Posts: 3,432
S
sparta Offline OP
Hoopy frood
OP Offline
Hoopy frood
S
Joined: Feb 2003
Posts: 3,432
Never mind.. i scripted around the problem, i made my self a whole brand new channel sheme instead wink much easyer, and i know its not so good to change somthing in mirc.ini when its in use.. grin grin


if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }