great job for ur first script, but do
on @*:text:*-v*:#:{
(checks if ur op)
also, rather than if ($nick != %owner), u can do else msg $chan blah blah blah
but the script is fine as it is, and its ur first script, so keep up the good work :)