21

In the IRC client XChat, it is possible to search for a list of channels in the current connected network. For example, searching for the keyword "python" using Server → Network List on the Freenode network lists all channels that have python in their name.

Is such a search functionality also possible in Weechat? If so, how can I search for a channel?

nc4pk
  • 9,037
  • 14
  • 59
  • 71
Bentley4
  • 1,908
  • 8
  • 23
  • 37

2 Answers2

26

Use the /list command... the standard IRC command for listing and searching IRC channels.
You can add a regular expression at the end to search for specific chans.

You can use the /list -re <regex> option to search with regex.

If you need more info, use the /help command; and learn more about real irc functionality (instead of relying on GUI wrappers).

demure
  • 6,080
  • 1
  • 27
  • 29
11

WeeChat doesn't have a channel search feature, as far as I know. But however, you can use the ALIS (Advanced LIsting Service) channel bot (on freenode):

To search for channels containing python in their channel name:

/msg alis list *python*

To search for a channel whose topic contains the word foo:

/msg alis list * -topic *python*

(the wildcards are required)

For other options, see:

/msg alis help list

/list works too, but on a big network like freenode (with over 40 thousand channels), it may flood your client off with the results or produce unexpected results.

Note: This is a network specific feature of freenode, and is client-independent. It can be used from any IRC client.

demure
  • 6,080
  • 1
  • 27
  • 29
Amal Murali
  • 806
  • 1
  • 9
  • 23
  • 2
    While there *is* a search function in weechat, this might be useful for freenode users... – demure Apr 19 '14 at 23:16
  • 2
    This is much better, as the `/list` keyword returns the entire list of channels. – ILMostro_7 Dec 31 '15 at 20:14
  • @demure describes the best way to do this, however I wanted to point out that you can search any buffer with . So you "could" /list all the channels, then and search through the entire list if you wanted, then arrow to navigate the matches. – Ricky Nelson Feb 09 '19 at 13:55