Irssi: Clear functionality for /names

Created on 26 Jan 2015  ·  3Comments  ·  Source: irssi/irssi

Sometimes it would be nice to be able to do /names -clear to remove all output made by /names. Similar to the /lastlog -clear.

Most helpful comment

/scrollback levelclear -level CLIENTCRAP + /scrollback levelclear -level CLIENTNOTICES does it.

Created a simple alias:
/alias clearnames scrollback levelclear -level CLIENTCRAP; scrollback levelclear -level CLIENTNOTICES

All 3 comments

You can use "/SCROLLBACK LEVELCLEAR -level somelevel" where somelevel is the desired level to clear. The /names output is probably CRAP or even NICKS. You need to figure out. "/HELP levels" shows a list of the available levels.

/scrollback levelclear -level CLIENTCRAP + /scrollback levelclear -level CLIENTNOTICES does it.

Created a simple alias:
/alias clearnames scrollback levelclear -level CLIENTCRAP; scrollback levelclear -level CLIENTNOTICES

note that this will (potentially) clear more than the names. you can also try my clearable script (/clearable names). To learn more about levels, the printlevels or the linebuffer script may also be useful (/dumplines -format -levels)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ePirat picture ePirat  ·  7Comments

spaghetti2514 picture spaghetti2514  ·  47Comments

lewisrobbins picture lewisrobbins  ·  19Comments

fratertenc picture fratertenc  ·  7Comments

dequis picture dequis  ·  5Comments