I'm in the process of writing a script where I'd like to have custom flags for users on channels. This is a bot where most communication is done on the channels themselves. The users I'd like to have as owners of channels will not be owners in the traditional way where they have access to add more users or alter anyone's flags, but rather have access to more commands than a regular user. To accomplish this I suppose I have to use custom flags, but is there anything I have to manipulate to make the bot recognize these flags?
From what I see on this page (is this the complete set of flags?), the flag i would be available.
.chattr user +i #examplechannel
And then
bind pub "n|i" !ownercommand some_proc_for_channelowners_only
Would this suffice? Also, how could I make sure that the bind only triggers for users that has that specific flag, and not trigger for any global flag?