why \"if ($nick [b]iswm] %myowner) {\" ?
someone could simply use a similar nick to the owner and delete every word ... and for the other if\'s, u should use ==
for the if $2-3, u only need if $3 because if there is a $3, there\'s automatically a $2
and rather than using while, use if and else
and rather than halting, put a . in front of the command (.notice $nick ...)