It's like...
Race(mob/M in playersB) //The part that makes it only list players with playersB being a variable list of the players
set category="Chat"
//The rest of the code that's meaningless right now
However, when I right click a mob that's not a player, just an npc mob object in the game, all of these verbs still show up in the right click list, when the verbs are supposed to only be for players
How do I make them not show up when you right click a mob that isn't a player in the playersB list variable thing?
This means that unfortunately, the only thing you can do about this is disable the verb's right-click functionality (meaning, for all mobs). This can be done by turning off the 'popup_menu' verb setting; look it up for info.