mIRC Homepage
Posted By: NathanO Display colours and clickable http:// links - 25/06/03 10:23 AM
I am trying to display the line:

[Site: http://www.mirc.com]-[Last Update: 25/06/2003]

but with coloured brackets. ( [ & ] )

My code is this:

//msg #membersonly -7[Site: http://www.mirc.com 7]-7[Last update: 25/06/20037]-

But I don't want the space between '.com' and '7]-7[Last update: 25/06/20037]-'

If I do it like this:

//msg #membersonly -7[Site: http://www.mirc.com7]-7[Last update: 25/06/20037]-

When I right click on the link and open it, mIRC adds some characters to the end of the address and therefore the page does not load.

Is it possible to have a clickable link with colours surrounding it while having no spaces ?
keep ur code as it is but add this as well

on 1:HOTLINK:*:{
if ($hotline == http://www.mirc.com) {
/run iexplore $left($hotline,19)
}
}
Thanks! smirk
That would assume that the address is a fixed length of 19 characters.

As for clicking a link that has colors/codes around it, I've never noticed mIRC sending the control codes to the browser, only the correct URL. If NathanO is using a HOTLINK because his prefered browser isn't Internet Explorer, then he might try $strip($hotline) to strip it of control codes.

- Raccoon
© mIRC Discussion Forums