Hi.
I would like to create a command that would allows sending messages to a given channel or user but only to the users that have a given snomask active.
I think there is no function or combination of functions that allow me to do this cleanly.
I'm trying to do this to send special commands for user interfaces. These commands should not bother users that are not using a capable interface. These commands should only be sent to the channel or user the sender is talking to. So i would like a function that "intersects" snomask (or umode i guess) and user|channel, this function should make the proper checks for flooding and the like.
I was thinking to make the command copying m_message adding the snomask checking and maybe disabling some checks that would not apply to this case, as checking for PING or ACTION.
I would like you to tell me if you knew a better way to implement this.
Thank you in advance... and congratulations for your great work...