The -o switch in your hadd command is invalid.
The way /hadd works it will overwrite the current information if it exists.
I'd recommend using
so that there's no possibility of a server error if you try to kick someone with
elseif ($2 == $me) {
kick $chan $nick am here...
}
and you not having ops in the channel.
I realize you'll probably ensure that you do have ops in the channel, so this is more of a safety than anything else.
As a basic !seen script, my compliments. If you want to take a look at some others that are more complex, you can find some on
Hawkee ,
mIRC Scripts and possbily other sites that you can get to from links on those.