on !*:JOIN:#: {
msg $nick I AM 1337
msg $chan I AM 1447
}
^^ you can not have if $nick isop $chan because on a join they can not be op\'ed as they are just joining the channel. And you don\'t want to message yourself when you join... If you really want to make this better make it so it does not do it more then once a hour or something. (to prevent floods)
make one variable and you only have to declare your ip once.
but tbh I dont see how this is helpful when on most networks your host is 1) cloaked and 2) your cloak changes... and 3) you have vhosts on off... w/e dont bash me just a suggestion. I made one just to log joins/parts/quits/connects/nickchanges/bans/kicks/serverbannes/kills... etc...