mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Aug 2005
Posts: 1,052
L
Lpfix5 Offline OP
Hoopy frood
OP Offline
Hoopy frood
L
Joined: Aug 2005
Posts: 1,052
Basically im looking for a method that will allow me to create a dialog in mIRC to request a update to a server should there be a update version of a *.mrc file then not will it only download the file, but unload old file, then load the file?


Code:
if $reality > $fiction { set %sanity Sane }
Else { echo -a *voices* }
Joined: Aug 2004
Posts: 7,252
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
By server, I'm hoping you mean website. In any case, it would help if you could post the address for the server, as this will require usage of sockets, and the best way to write a socket script is to be able to see what is actually being sent to the website and what the website is returning.

Joined: Aug 2005
Posts: 1,052
L
Lpfix5 Offline OP
Hoopy frood
OP Offline
Hoopy frood
L
Joined: Aug 2005
Posts: 1,052
I think someone deleted my last post anyways i was gonna mention that the server addy is xxxxxxx.com/fcirc/update/ and the updated files would never be static meaning there would always be a change in the file but the original name kept intact what i mean by this for example if there is a current file of OperControl.mrc and I update it it will be now OperControl1.mrc or something similar.

So I need the script to connect to the server, check for update if something new then. Proceed to unload old script and dl and load the new one.


Code:
if $reality > $fiction { set %sanity Sane }
Else { echo -a *voices* }
Joined: Aug 2004
Posts: 7,252
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
I don't know if you used xxxxxxx.com as an example of the site address, or if that actually is the site address, but if that is the address, then there's a problem, as that site is an adult site, and I was unable to access the specific directory you specified. All attempts to do so returned me to the main page.

If that is not the proper site, then please provide the proper address (in full) so that I can start to work on this properly. Without the full proper site address, there is nothing more I can do.

Joined: Aug 2005
Posts: 1,052
L
Lpfix5 Offline OP
Hoopy frood
OP Offline
Hoopy frood
L
Joined: Aug 2005
Posts: 1,052
I thought we werent suppose to post links so thats why i put xxxx but the host for the files is at angelfire

http://www.angelfire.com/music2/andresmp3/FCIRC/update/

currently hosting notepad.mrc and startup.mrc in that dir

http://www.angelfire.com/music2/andresmp3/FCIRC/index.html is the link where I want mIRC to talk too on there there will be the text that will say new version like Notepad Editor v1.0 etc...


Code:
if $reality > $fiction { set %sanity Sane }
Else { echo -a *voices* }
Joined: Aug 2004
Posts: 7,252
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
Basically you're not supposed to post links if it's for the purposes of advertising, but links required for scripting purposes are permitted.

I can't look at this right now, but will do so when I get home from work tomorrow.

Joined: Aug 2005
Posts: 1,052
L
Lpfix5 Offline OP
Hoopy frood
OP Offline
Hoopy frood
L
Joined: Aug 2005
Posts: 1,052
ok


Code:
if $reality > $fiction { set %sanity Sane }
Else { echo -a *voices* }

Link Copied to Clipboard