True - the same code would work in both places:
PHP Code:
if (is_member_of($vbulletin->userinfo,98)) // Usergroups //
{
$userselect = 0;
$styleid = 39; // Style id //
$vbulletin->userinfo['styleid'] = $styleid;
$vbulletin->options['styleid'] = $styleid;
}
I guess when I next to add the next usergroup, I will create a variable to replace the 39 but for now all works fine.