irssi
                Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| irssi [2010/11/10 16:17] – k2patel | irssi [2020/08/10 02:35] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 29: | Line 29: | ||
| /op -YES * | /op -YES * | ||
| </ | </ | ||
| + | |||
| + | ==== Alias ==== | ||
| + | |||
| + | This is something really powerfull please be carefull.\\ | ||
| + | you can use shell command to execute and print on channel. | ||
| + | |||
| + | == Fortune == | ||
| + | <code bash> | ||
| + | /alias fortune exec - -o / | ||
| + | </ | ||
| + | |||
| + | == Figlet == | ||
| + | <code bash> | ||
| + | /alias figlet exec - -o / | ||
| + | </ | ||
| + | |||
| + | |||
| + | === From other pages === | ||
| + | |||
| + | |||
| + | remove activity from all windows: | ||
| + | <code bash> | ||
| + | alias UNACT script exec foreach $$w (Irssi:: | ||
| + | </ | ||
| + | |||
| + | calc with (10) decimals: | ||
| + | <code bash> | ||
| + | alias CALC exec – if which bc &>/ | ||
| + | </ | ||
| + | |||
| + | Dump perl object (e.g. /dump Irssi:: | ||
| + | <code bash> | ||
| + | alias DUMP script exec use Data:: | ||
| + | </ | ||
| + | |||
| + | Put output of a command in the current window (e.g. /here help blah) (does not work with whois, and other output coming from the server): | ||
| + | <code bash> | ||
| + | alias HERE script exec \$a=Irssi:: | ||
| + | </ | ||
| + | |||
| + | do /lastlog, but for all windows… /alllast -HILIGHT would show all hilights in every buffer in the current window (like hilightwindow.pl, | ||
| + | <code bash> | ||
| + | alias ALLLASTLOG script exec foreach (Irssi:: | ||
| + | </ | ||
| + | |||
| + | execute a command on a given server (e.g. “/tag ircnet join #irssi” would join irssi on ircnet (if you’re connected to ircnet)): | ||
| + | <code bash> | ||
| + | alias TAG script exec Irssi:: | ||
| + | </ | ||
| + | |||
| + | list (say) your currently loaded scripts (just the names, on one line): | ||
| + | <code bash> | ||
| + | alias LISTSCRIPTS script exec foreach \$s (sort grep(s/:: | ||
| + | </ | ||
| + | |||
| + | list (print) a list of servers you’re currently connected to, what nick you have there, and on which channels you are: | ||
| + | <code bash> | ||
| + | alias LISTCHANS script exec foreach (Irssi:: | ||
| + | </ | ||
| + | |||
| + | mass-op all non-voiced (to op everyone just use /op *): | ||
| + | <code bash> | ||
| + | alias MOP script exec foreach \$n (Irssi:: | ||
| + | </ | ||
| + | |||
| + | Show for how long you have been connected to the current server: | ||
| + | <code bash> | ||
| + | alias CONNECTIONUPTIME script exec \$a=`date +%s` – Irssi:: | ||
| + | </ | ||
| + | |||
| + | Goto to x’th last window (0 = last, 1 = second last) | ||
| + | <code bash> | ||
| + | alias window_goto_last_minus script exec Irssi:: | ||
| + | </ | ||
| + | |||
| + | Remove all bans set by you | ||
| + | <code bash> | ||
| + | alias mubmy script exec \$c=Irssi:: | ||
| + | </ | ||
| + | |||
| + | [[http:// | ||
| ==== IrSSi Settings ==== | ==== IrSSi Settings ==== | ||
| Line 58: | Line 139: | ||
| + | ==== Nice Scripts ==== | ||
| + | |||
| + | |||
| + | === window_switcher === | ||
| + | |||
| + | [[ http:// | ||
| + | [[http:// | ||
| + | |||
| + | <code text> | ||
| + | * Add the statusbar item: | ||
| + | /STATUSBAR window add window_switcher | ||
| + | * Type /ws followed by a window number or part of a window or channel name. | ||
| + | * When the right item is at the first place in the statusbar, press enter. | ||
| + | * For faster usage, do “/BIND ^G multi erase_line; | ||
| + | </ | ||
| + | |||
| + | ==== ShortCut' | ||
| + | |||
| + | <code bash> | ||
| + | Ctrl-X to switch between network connections | ||
| + | Alt-[0-9] switch to windows | ||
| + | </ | ||
| + | |||
| + | |||
| + | ==== Binding F Key ==== | ||
| + | |||
| + | <code bash> | ||
| + | /bind meta2-P | ||
| + | /bind meta2-Q | ||
| + | /bind meta2-R | ||
| + | /bind meta2-S | ||
| + | /bind meta2-15~ | ||
| + | /bind meta2-17~ | ||
| + | /bind meta2-18~ | ||
| + | /bind meta2-19~ | ||
| + | /bind meta2-20~ | ||
| + | /bind meta2-21~ | ||
| + | /bind meta2-24~ | ||
| + | /bind meta2-23~ | ||
| + | /bind meta2-24~ | ||
| + | |||
| + | /bind meta2-2P | ||
| + | /bind meta2-2Q | ||
| + | /bind meta2-2R | ||
| + | /bind meta2-2S | ||
| + | /bind meta2-15;2~ key sF5 | ||
| + | /bind meta2-17;2~ key sF6 | ||
| + | /bind meta2-18;2~ key sF7 | ||
| + | /bind meta2-19;2~ key sF8 | ||
| + | /bind meta2-20;2~ key sF9 | ||
| + | /bind meta2-21;2~ key sF10 | ||
| + | /bind meta2-24;2~ key sF12 | ||
| + | /bind meta2-23;2~ key sF11 | ||
| + | /bind meta2-24;2~ key sF12 | ||
| + | </ | ||
| + | |||
| + | When you’ve done that, you can do, for example /bind F1 change_window 1 to bind something to F1, or /bind sF1 for shift-F1. | ||
| + | [[http:// | ||
| ==== My Environment ==== | ==== My Environment ==== | ||
irssi.1289405836.txt.gz · Last modified: 2020/08/10 02:30 (external edit)
                
                