I need some help with this please, i think i may have it wrong but heres the code

Code:
on *:TEXT:!utip:#:/msg $chan click here ut2004://$ip


but i cant seem to get it to work,
What it's supposed to do is on ONTEXT event and then /msg my IP address to the channel
so that ppl who are playing and in my channel can click and join the server
without me having to type it out and make mistakes,

I think the problem lies in the $ip bit (not sure), i have searched the net and help formum and files, maybe i need
to look at the /did again.

I saw something like this in a channel, where the channel op would type
!server and his bot would replay back with Private Server [url=ut2004://XX.12.58.19][url=ut2004://XX.12.58.19][url=ut2004://XX.12.58.19]ut2004://XX.12.58.19[/url][/url][/url] (Channel Ops private server)
What this does is displays the message and the ip, in a sort of hyperlink so that players of UnrealTournament 2004
can click on it within the game and launch straight to the game server. (hope this is clear)

Does anybody have any idea how this could of been done, i want to add it to my bot when i`m playing online

Thanks in advance
ShadowDemon