You'll probably need some other method for this rather than flags, because you have limited flags, but unlimited commands.
I'm currently working on a very flexible permission-based plugin/admin system that allows you to use permissions for each command instead of admin flags (e.g. for amx_slap you would need amxcmd.slap permission or amxcmd.* for all commands). Maybe you can use that when I release it.