Garou, there isn't a real need to check your own version, is there? Unless you want to for some reason, you should set it to *not* check your version when you join the channel...
on !*:join:#:{
ctcp $nick VERSION
}
That ! does what Doqnach did with the if ($nick != $me) thing; it's just a shorter method.
Also, you've been here long enough to know that you should always use the CODE tags in this forum.