Chat

From Things and Stuff Wiki
Revision as of 20:19, 21 June 2012 by Milk (talk | contribs) (a start and move)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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

Weechat

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

Scripts

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!")