I have an EventsLog monitor script.
It echoes all kinds of events to an @-window.
Now I'm looking for a way to log the URL's that I click.
The only identifier I could find would return the url, currently active in my webbrowser, but I would like to catch it when I click it.
Would this be possible using regex or gettok perhaps?
Some more info on this would be greatly appreciated.
Example of one of the events I currently log:
on *:KICK:*:{
if ($knick == $me) {
echo @EventsLog $timestamp 5KICK detected:
echo @EventsLog $timestamp $nick kicked you from $chan
echo @EventsLog -
}
elseif ($nick == $me) {
echo @EventsLog $timestamp 5KICK detected:
echo @EventsLog $timestamp You kicked $knick from $chan
echo @EventsLog -
}
else {
echo @EventsLog $timestamp 5KICK detected:
echo @EventsLog $timestamp $nick kicked $knick from $chan
echo @EventsLog -
}
}