$posts_needed_for_img = 20; if($bbuserinfo[posts] < $posts_needed_for_img and strstr($message, '[img]')) { eval("standarderror(\"".gettemplate("error_noimagesallowed")."\");"); exit; }