Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Addition of achannels #1341

Open
wants to merge 4 commits into
base: develop
Choose a base branch
from

Conversation

crazycatdevs
Copy link
Contributor

@crazycatdevs crazycatdevs commented Oct 18, 2022

Allows to list channels with a particular flag enabled

Found by: CrazyCat
Patch by: CrazyCat

One-line summary: Allows to list channels with a particular flag enabled

Additional description (if needed):
Add the tcl command achannels [flag]

  • if flag is ommited, returns [channels]
  • if flag is not a channel flag (or doesn't exists), returns an error
  • else, returns channels with flag enabled

Test cases demonstrating functionality (if applicable):

  • channel #test has +test flag (user defined), -inactive and +greet
  • channel #eggdrop has -test, -inactive and +greet
.tcl achannels dummy
Tcl error: dummy is unknow or not flag attribute
.tcl achannels test
Tcl: {#test}
.tcl achannels inactive
Tcl: 
.tcl achannels greet
Tcl: {#test} #eggdrop

Allows to list channels with a particular flag enabled
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant