I'm not either, it just seems like a lot of extra work/typing to do it the way you're doing it.
PHP Code:
if ($vbulletin->options['ozzmodz_style_per_script_active'] AND in_array(THIS_SCRIPT, explode(',', $vbulletin->options['ozzmodz_style_per_script_script'])))
{
$styleid = $vbulletin->options['ozzmodz_style_per_script_style']; //Set the style on selected pages
}
I don't think you need the global there, for vBulletin either.