Chat
Jump to navigation
Jump to search
Irssi
set timestamp_format %H:%M:%S /server ADD -auto -network freenode irc.freenode.net 6667 /channel ADD -auto #channel NetworkName password
Stuff
Guides
- http://laurimakinen.net/2009/04/13/ultimate-irssi-guide-for-beginners/
- http://www.distancex.net/2011/06/my-perfect-irssi-setup.html
Weechat
Installation
Commands
/server add oftc irc.oftc.net/6667 /connect oftc
/set irc.look.server_buffer independent /input jump_smart - jump to next buffer with activity /input hotlist_clear - clear activity
/key bind meta2-18~ /bar scroll buffers * -30% - bind F7 to buffers.pl up /key bind meta2-19~ /bar scroll buffers * +30% - bind F8 to buffers.pl down
Ctrl-r - Search buffer (enter to esc.) alt-k [key] - display key and binding
Docs
/set irc.look.smart_filter on /filter add irc_smart * irc_smart_filter *
Scripts
- Scripts
- weeget.py - script manager
- autoconnect - remembers servers+channels joined
- buffers.pl - lists buffers in sidebar
- /set weechat.bar.buffers.position right
- /set buffers.look.sort name (window number order doesn't follow!)
- urlbuf.py - url catcher buffer
- whois_on_query.py - as title
- go.py - jump to buffer
- sort_buffers.pl - as title.
- listsort.pl - better than nowt
- to check; https://github.com/FiXato/listbuffer
Scripting
http://www.weechat.org/files/doc/stable/weechat_plugin_api.en.html#_weechat_config_color_default weechat.color.chat_buffer [1]
python: you have to import weechat functions print* are called prnt* in python (because print is reserved keyword) functions are called with weechat.xxx(arg1, arg2, ...)
weechat.register(name, author, version, license, description, shutdown_function, charset) [2]
import weechat weechat.register("test_python", "FlashCode", "1.0", "GPL3", "Test script", "", "") weechat.prnt("", "Hello, from python script!")
Services
Some channels require a nickserv registered nick before joining. Thus, changing to an unregistered nick can give a "Cannot change nickname while banned on channel" message.