ID:159109
 
I have a bunch of verbs that when you click them, it shows a list of players only and yeah they only work on players.

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?
That occurs because Dream Seeker doesn't validate the full conditions every time you right-click a map spot (this would cause extra communications and overhead every time on every such click), and so all it checks is the defined type of the argument - in this case, mob (the argument type is defined with the 'as' keyword, which is in your case implicit; as a shorthand, mob/M is the same as mob/M as mob).
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.