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:11] – 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 ==== | ||
| Line 112: | Line 251: | ||
| max_msgs = " | max_msgs = " | ||
| max_whois = " | max_whois = " | ||
| - | }; | + | } | 
| - | SILC = { type = " | + | |
| - | WEBAIR = { type = " | + | |
| - | " | + | |
| }; | }; | ||
| Line 304: | Line 440: | ||
| hilights = ( { text = " | hilights = ( { text = " | ||
| logs = { }; | logs = { }; | ||
| + | </ | ||
| + | |||
| + | <code bash | ~/ | ||
| + | |||
| + | #### #### | ||
| + | #### ThirdEye 1.4 #### | ||
| + | ####  by salo <salo at Xtrmntr.org> | ||
| + | #### #### | ||
| + | |||
| + | |||
| + | replaces = { " | ||
| + | abstracts = { | ||
| + | line_start = "--- "; | ||
| + | timestamp = " | ||
| + | hilight = " | ||
| + | error = " | ||
| + | channel = " | ||
| + | nick = " | ||
| + | nickhost = " | ||
| + | server = " | ||
| + | comment = " | ||
| + | reason = " | ||
| + | mode = " | ||
| + | channick_hilight = " | ||
| + | chanhost_hilight = " | ||
| + | channick = " | ||
| + | chanhost = " | ||
| + | channelhilight = " | ||
| + | ban = " | ||
| + | msgnick = "< | ||
| + | ownnick = " | ||
| + | pubnick = " | ||
| + | menick = " | ||
| + | pubmsgnick = " | ||
| + | pubmsgmenick = " | ||
| + | pubmsghinick = " | ||
| + | ownmsgnick = " | ||
| + | msgchannel = " | ||
| + | privmsg = " | ||
| + | ownprivmsg = " | ||
| + | ownprivnick = " | ||
| + | ownprivmsgnick = " | ||
| + | privmsgnick = " | ||
| + | #  ownprivmsgnick = " | ||
| + | #  privmsgnick = " | ||
| + | action_core = " | ||
| + | action = " | ||
| + | ownaction = " | ||
| + | ownaction_target = " | ||
| + | pvtaction = "%W (*) $0-%n "; | ||
| + | pvtaction_query = " | ||
| + | pubaction = " | ||
| + | ownnotice = " | ||
| + | notice = " | ||
| + | pubnotice_channel = " | ||
| + | pvtnotice_host = " | ||
| + | servernotice = " | ||
| + | ownctcp = " | ||
| + | ctcp = " | ||
| + | wallop = " | ||
| + | wallop_nick = " | ||
| + | wallop_action = "%W * $0-%n "; | ||
| + | netsplit = " | ||
| + | netjoin = " | ||
| + | names_nick = " | ||
| + | names_users = " | ||
| + | names_channel = "on %G$0-%n:"; | ||
| + | dcc = " | ||
| + | dccfile = " | ||
| + | dccownmsg = " | ||
| + | dccownnick = " | ||
| + | dccownaction = " | ||
| + | dccownaction_target = " | ||
| + | dccmsg = " | ||
| + | dccaction = "%W (*dcc*) $0-%n %|"; | ||
| + | sb_background = " | ||
| + | sb = " | ||
| + | sbmode = " | ||
| + | sbaway = " (%GzZzZ%n)"; | ||
| + | sbservertag = ": | ||
| + | sbmore = "%_-- more --%_"; | ||
| + | sblag = "{sb Lag: $0-}"; | ||
| + | sbmail = "{sb Mail: $0-}"; | ||
| + | sbact_act = "Act: $0-"; | ||
| + | sbact_det = "Det: $0-"; | ||
| + | sbact = "{sb {sbact_act $0}{sbact_det $1}}"; | ||
| + | }; | ||
| + | formats = { | ||
| + | " | ||
| + | whois = "%W$0 %K[%c$1@$2%K]%: | ||
| + | whois_channels = " channels :%c $1%n"; | ||
| + | whois_server = " server | ||
| + | whois_oper = " operator :%W $1 is IRC Operator%n"; | ||
| + | whois_away = " away :%W $1%n"; | ||
| + | whois_idle = " idle     :%W $1 days, $2 hours, $3 mins, $4 secs%n"; | ||
| + | }; | ||
| + | " | ||
| + | whois = "%W$0 %K[%c$1@$2%K]%: | ||
| + | whois_realname = " realname | ||
| + | whois_channels = " channels | ||
| + | whois_modes = " modes :%c $0%n"; | ||
| + | whois_idle = " idle        :%W $0%n%"; | ||
| + | whois_fingerprint = " fingerprint :%c $0%n%:End of WHOIS"; | ||
| + | }; | ||
| + | }; | ||
| </ | </ | ||
irssi.1289405477.txt.gz · Last modified: 2020/08/10 02:30 (external edit)
                
                