//the command if( myFaction == some_faction ) { //allow } else { //tell them they aren't allowed etc }
Anything like factions, groups etc is just a variable value, it's not native so look where you created the faction to get the correct array (gFactions or something) then use that.