mIRC Home    About    Download    Register    News    Help

Print Thread
#55772 18/10/03 11:33 AM
T
Tsunami
Tsunami
T
ok, need some help here smile
how can I get on HOTLINK to work with an ftp address (eg. ftp://user:pass@address:port)?
I've copied the example in the help file, but it doesn't trigger when I double-click an ftp address...

#55773 18/10/03 02:27 PM
Joined: Jan 2003
Posts: 2,125
Q
Hoopy frood
Offline
Hoopy frood
Q
Joined: Jan 2003
Posts: 2,125
mirc hotlinks ftp addresses by default, you don't need a script for that. I'm not sure what your problem is, but try this:
Code:
on ^*:hotlink:ftp?//?*:*: if ftp://* !iswm $1 { halt }
on *:hotlink:ftp?//?*:*: run $1
Whenever you doubleclick on a ftp link, the default ftp program in your system is opened. Change /run to whatever you want (like /run someftpclient.exe $1). $1 holds the ftp link.

#55774 18/10/03 04:10 PM
T
Tsunami
Tsunami
T
well, I just want to change the FTP program to an FTP addon for mIRC, so it opens the addon instead of the program when you double-click the link. This works just fine, I just want to know how to hide this line:

clicked word ftp://user:pass@address:port in line ftp://user:pass@address:port

this line is pasted in the status window everytime I double-click the link.

#55775 18/10/03 07:06 PM
I
Iori
Iori
I
That line is from the example in the help file. wink

#55776 18/10/03 07:08 PM
T
Tsunami
Tsunami
T
omg, stupid me... I still had that code in another file blush Thnx for the help!

Last edited by Tsunami; 18/10/03 07:11 PM.
#55777 18/10/03 07:12 PM
I
Iori
Iori
I
NP smile

Last edited by Iori; 18/10/03 07:12 PM.

Link Copied to Clipboard