eggheads / eggdrop

The Eggdrop IRC Bot
GNU General Public License v2.0
500 stars 84 forks source link

Support for +q mode #228

Open Arkadietz opened 8 years ago

Arkadietz commented 8 years ago

Hello,

What is +q mode?

06:23 -!- cmode +q - Quiet. Prevents a user from sending to the channel or changing 06:23 -!- cmode nick, based on a nick!ident@host match. 06:23 -!- cmode PARAMS: /mode #channel +q nick!user@host

This mode is so cool and bright but it's pain in ass if you have to implement it with eggdrop because anytime you have to draw a new tcl. So will be great if you make it a official support for it such as the .+ban and newban Why? In the moment if someone set any +q mode in the channel that mode is equal to perm. For this reason we need a global settings so bot can clear these modes on some interval of time (must be a variable ) Another good future will be the implementation like: newban

Example:

newban [lifetime] [options] Description: adds a ban to the global ban list (which takes effect on all channels); creator is given credit for the ban in the ban list. lifetime is specified in minutes. If lifetime is not specified, global-ban-time (usually 60) is used. Setting the lifetime to 0 makes it a permanent ban. Options: sticky: forces the ban to be always active on a channel, even with dynamicbans on none: no effect Returns: nothing Module: channels

But here can be modded for +q as well!

DanielOaks commented 8 years ago

As a note, +q can also commonly mean channel founder/owner with the ~ prefix, something to keep in mind when implementing.

edit: Yeah, you'll want to discover it through PREFIX parameter of 005 as noted below.

Pixelz commented 8 years ago

This is related to #3

vanosg commented 7 years ago

Hi @maimizuno,

Is this bug related specifically to +q support? If not, could you please open it as a separate issue? Thank you

ghost commented 6 years ago

Uh ... ?