You mean you didnt test it? Just threw it out there?
I can understand leaving it up to us to add user levels I guess, but you should really have flood protection unless you want to flood out your script.
Also, take a look at 'elseif'.