hey np Vinney thats why im here to help
what do you mean allow multiple usergroups?
if you want the script restricted to just usergroupid 2 then replace:
PHP Code:
if (!$bbuserinfo[userid] || $bbuserinfo[usergroupid]==1 || $bbuserinfo[usergroupid]==3 || $bbuserinfo[usergroupid]==11) {
with:
PHP Code:
if($bbuserinfo[usergroupid] != 2) {
that do the same exact effect as yours above except you don't have to keep defining it (that is is you're restricting access solely to usergroupid 2)
as for the
PHP Code:
!$bbuserinfo[userid]
that just states if the viewer has no user id

regards...
g-force2k2