i didnt realize this was ur first, good job on it :P
but when u set multiple modes, u need to put that many nicks
ex: +vo would need $nick $nick or $str($nick $chr(32),2) rebellious made a mistake, forgot the $chr(32) :)
ex: if u do +vaoqb, it would be /mode $chan +vaoqb $str($nick $+ $chr(32),5)
($str repeats something N times, //help $str)
good luck on future scripts :)