mIRC Home    About    Download    Register    News    Help

Print Thread
#83271 17/05/04 02:09 AM
Joined: Apr 2003
Posts: 22
G
gsandan Offline OP
Ameglian cow
OP Offline
Ameglian cow
G
Joined: Apr 2003
Posts: 22
How can I log a URL if it's said in the channel or message?
EX: URL in channel > logged to a file in the MIRC directory.
Thanks!

#83272 17/05/04 04:59 AM
Joined: Aug 2003
Posts: 325
W
Fjord artisan
Offline
Fjord artisan
W
Joined: Aug 2003
Posts: 325
You mean log all urls into a seperate file, or to log at all?

The problem with trying to log all urls is that you have to somehow figure out what is a URL and what isn't, and even the best of url catchers don't catch all of them. However, to catch a good number of them, you will need to use $regex/$regml or $regsub. Given the choice between too sensitive (catching false hits and missing few valid urls) and not sensitive enough (rarely catching false hits but missing more valid urls), if the idea is to catch/stop spammers, you'd want to go for more sensitive and ban later or less sensitive and banning immediately.

I'm sure the problem becomes clear, but it's also based on your purpose and intended usage.
grin

#83273 17/05/04 06:37 AM
Joined: Aug 2003
Posts: 1,831
I
Hoopy frood
Offline
Hoopy frood
I
Joined: Aug 2003
Posts: 1,831
You may want to look into the Urls list Alt+U > Options (or Options > IRC > Catcher). This logs urls to urls.ini but you may want to unselect "Delete ? items on exit". It has the advantage of being very handy, just a Alt+U or click on the toolbar away, as well as a few options for opening, sharing the urls smile


Link Copied to Clipboard