Colorize imageboard-style text formatting.
Both inbound and outbound messages are colored.
Since the coloring uses IRC color codes,
outbound greentexting will be visible to both you and your friends.
The following are supported:
greentext
purpletext
redtext
Checklist (new script)
[x] Single commit, single file added
[x] Commit message: New script name.py: short description…
[x] No similar script already exists
[x] Name: max 32 chars, only lower case letters, digits and underscores
[x] Unique name, does not already exist in repository
[x] No shebang on the first line
[x] Comment in script with name/pseudo, e-mail and license
[x] Only English in code/comments
[x] Pure WeeChat API used, no extra API
[x] Function hook_process is used for any blocking call
[x] For Python script: works with Python 3 (Python 2 support is optional)
Script info
Script name: greentext
Version: v1
Script tags: color, display, py3
Description
Colorize imageboard-style text formatting. Both inbound and outbound messages are colored. Since the coloring uses IRC color codes, outbound greentexting will be visible to both you and your friends.
The following are supported:
Checklist (new script)
New script name.py: short description…
hook_process
is used for any blocking call