Created
January 2, 2013 20:31
-
-
Save HarHar/4437687 to your computer and use it in GitHub Desktop.
2cool4u
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import weechat | |
# -*- coding: utf8 -*- | |
weechat.register("kumagawa", "HarHar/t4w", "1.0", "GPL3", "2cool", "", "") | |
hook = weechat.hook_command('x', '『』 it', "[msg]", "", "msg", "kewl", "") | |
def kewl(data, buffer, args): | |
buffer = weechat.current_buffer() | |
weechat.command(buffer, chr(15) + '『 '+ args + chr(15) +' 』') | |
return weechat.WEECHAT_RC_OK |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment