Ah, right.. my bad.. When I was writing it, I was testing it on usergroups first rather than my ID so I forgot to replace it in my reply. So UserID's (php) would be:
PHP Code:
if (in_array($vbulletin->userinfo['userid'], array(1,2,3)))
{
permission stuff here
}
else
{
no permission stuff here
}
Else could be left out as I think you already knew, but you get the idea

.