A little more further in what you can do with this and using regex to filter links.
;Hooks right, selected, and double click events in channels for nicks, links and channels ;)
on *:HOTLINK:*:*: {
var %n $hotlink(match) ,%e $hotlink(event)
if (%n ison #) {
if (%e == rclick) { xdid -u nicklist 3 | xdid -c nicklist 3 $xfind(%n) | nicklist.popup }
elseif (%e == sclick) { xdid -u nicklist 3 | xdid -c nicklist 3 $xfind(%n) }
elseif (%e == dclick) { query %n }
}
elseif (%e == dclick) {
if ($regex(%n,/(^|\s|>)((https?|ftp):\/\/[-A-Z0-9+&@#\/%?=~_|!:,.;]*[-A-Z0-9+&@#\/%=~_|])/gim)) { URL $regml(2) }
elseif ($regex(%n,/(^|\s|>)(www\.[\S]+(\b|$))/gim)) { URL $+(http://,$regml(2)) }
elseif ($regex(%n,/(\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*)/gim)) { url mailto: $+ $regml(1) }
elseif ($regex(%n,/(%#\w+)/g)) { JOIN $regml(1) }
} }
Make sure you paste this in a script file that does not have a on join event.
I added a . in front of the timer command so you dont have to have added timer started timer halted msgs.
changed the msg #bitefight.mx to msg # cause you already told mirc the channel you wish to check for and send to in the on join. so # is all that is needed there.
I have tested this code and it works on every server I gone on. so hope this helps you.
on *:JOIN:#bitefight.mx: {
if ($nick == alejop) {
.timer 1 3 msg # Hola $nick , la persona que buscas no esta
} }