mIRC Home    About    Download    Register    News    Help

Print Thread
#58855 02/11/03 08:12 PM
M
maezr
maezr
M
menu status {
Moo
.run open opera {
/set %proxy $read(proxy.txt)
/writeini -n C:\Program Files\Opera\Opera6.ini proxy "HTTP Server" %prox
/run C:\Program Files\Opera\opera.exe %site
}

I don't get an error message, but the value doesn't change. what's wrong?

#58856 02/11/03 08:21 PM
P
pheonix
pheonix
P
change C:\Program Files\Opera\Opera6.ini to "C:\Program Files\Opera\Opera6.ini" and add an extra }

#58857 02/11/03 08:29 PM
M
maezr
maezr
M
with that change, I get the following in the ini file...

"HTTP="Server""

(instead of HTTP Server=68.157.124.70:80 or something)

#58858 02/11/03 08:32 PM
P
pheonix
pheonix
P
yes you can't have spaces in the part before the "=" as far as i know.

#58859 02/11/03 08:35 PM
M
maezr
maezr
M
so there's no way to edit this ini file, then?

#58860 02/11/03 08:36 PM
P
pheonix
pheonix
P
change http server %prox to httpserver %prox

#58861 02/11/03 08:49 PM
C
CtrlAltDel
CtrlAltDel
C
it might be helpful to use httpserver %proxy

wink

#58862 02/11/03 08:49 PM
M
maezr
maezr
M
but opera reads from "http server" not "httpserver" :\

#58863 02/11/03 08:51 PM
Joined: Dec 2002
Posts: 3,015
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,015
You could do it with a /write instead of a /writeini.

Just overwrite the line.

#58864 02/11/03 08:58 PM
P
pheonix
pheonix
P
ah yes, i just read this bit: /writeini -n C:\Program Files\Opera\Opera6.ini proxy "HTTP Server" %prox

#58865 02/11/03 08:58 PM
M
maezr
maezr
M
.run open opera {
/set %proxy $read(proxy.txt)
/write -l221 C:\Program Files\Opera\Opera6.ini HTTP Server= $+ %proxy
/run C:\Program Files\Opera\opera.exe %site
}

still not getting any change at all

#58866 02/11/03 08:59 PM
P
pheonix
pheonix
P
you need the quotes: "path"

#58867 08/11/03 04:34 PM
D
damanseb
damanseb
D
Its a bug i think, u could get around it by doing this:

You need to write 2 lines for a valid ini format:

/write -l221 "C:\Program Files\Opera\Opera6.ini" [proxy]
/write -l222 "C:\Program Files\Opera\Opera6.ini" HTTP Server= $+ %proxy

Alot of trouble for a small bug..

#58868 08/11/03 04:48 PM
Joined: Dec 2002
Posts: 3,015
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,015
What exactly do you think is a bug?


Link Copied to Clipboard