if (is_member_of($vbulletin->userinfo, x,y)) {error 1} else if (is_member_of($vbulletin->userinfo, a,b)) {error 2} else {error 3}