PHP Code:
#define VIP_FLAGS ADMIN_KICK
Add that to the top of the plugin.
PHP Code:
if( !( get_user_flags( id ) & /*VIP_FLAGS*/ ) )
PHP Code:
if( ( get_user_flags( id ) & VIP_FLAGS ) )
Then that's it.
P.S. You can change the vip flags to any flags you want.
You can find
Admin Constant here.
__________________