Chat

From Things and Stuff Wiki
Jump to navigation Jump to search


Clients

Hexchat

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

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

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.

Bouncer