You can use a menu callback if you want to have the items shown but be disabled if they don't have the requisite flag. Callback example found here.
If you want them to see a chat message then you have to let them select the item and then check their flags in the handler and show the message if needed. Optionally, you can re-show the menu if you want.