on join, instead of messaging the channel, a notice will suffice and will create less spam in the channel.
Also i would go with Kirbeh_Pr0nz idea of querying the nicks
eg: on 1:TEXT:!genius:?:{
and instead of:
msg $chan
do
.msg $nick
(the . makes it silent)
Good luck I guess
Oh and btw, I wouldn't have a clue about how to insert the proper 'code' html.