i dont get why the hell you would post this, it is absolutely pointless, its the same friggin thing as the help file, u didnt even write a script! if your going to teach people to make something, put it in the forum, this definitely aint a code snippet...
bigmomma,
on @*:join:#: if ($nick isop $chan) mode $v2 +o $v1