mIRC Home    About    Download    Register    News    Help

Print Thread
Help with script.. #257703 09/05/16 04:15 AM
Joined: May 2016
Posts: 1
M
MyrddinBach Offline OP
Mostly harmless
OP Offline
Mostly harmless
M
Joined: May 2016
Posts: 1
Is it possible to have a script that looks for a url with specific keywords when posted in a channel and then runs another program with that url as part of the input or a variable?

I know the /run command can open external programs - just not exactly sure how to use that with a variable input. Also I know the url filter will catch and list URLs posted but not sure if that would be useful for what I'm trying to do here.

If this is not clear let me know and I'll try to explain further.

Re: Help with script.. [Re: MyrddinBach] #257706 09/05/16 01:26 PM
Joined: Sep 2014
Posts: 259
S
Sakana Offline
Fjord artisan
Offline
Fjord artisan
S
Joined: Sep 2014
Posts: 259
Yes, just use a text event that triggers on the url and then do /run C:\program.exe URL_HERE

Assuming the program can take an url as a paramater