going along with what Teen said about making sure ur bot is +o in the channel you can also do
on @*:join:#channel:{
so no need for the $me isop # line just showing a different way to do the check