I would like to be able to search like this:

/window list | grep ruby

I have installed grep.pl to do so, but it still fails. The syntax says to do

/GREP [-i] [-w] [-v] [-F] <perl-regexp> <command to run>

But even typing /grep gives "Unknown command" in irssi.

What is a good way to find the number for specific channels? I keep on losing track of their numbers and typing /join #fullchannel name is often long and I often forget if the channel uses 1 or 2 #-symbols.


1 Answer 1


First off, make sure the script is loaded correctly by doing:

/script load grep


/script load autorun/grep

(if the grep.pl file is in your autorun directory)

Then, here is the proper command:

/grep ruby /window list
  • I blush! I ran /script load grep.pl, instead of /script load autorun/grep.pl! Thanks :)
    – ujjain
    Jun 12, 2011 at 14:56
  • 2
    Does not work for me when trying to search for a channel: "/GREP foo /list" Mar 11, 2013 at 20:19
  • I really wish we could figure out why this doesn't work with /list. Jan 21, 2017 at 21:08
  • 1
    @BrunoBronosky /betterlist.pl can search for channels using regex. Nov 7, 2019 at 2:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.