## Written by Ddorda (http://ddorda.useopensource.net), ver. 1.0 ## This script is licensed under GPL 3 (http://www.gnu.org/licenses/gpl-3.0.txt), so you may want to use and distibute it as long as you add credit :) import xchat __module_name__ = "ubuntu-settab" __module_version__ = "1.0" __module_description__ = "This little script replaces the word 'ubuntu' to 'U' on the tabs and that way saves a lot of place. great for netbooks..." def settabu_cb(word, word_eol, userdata): xchat.command("SETTAB %s" % (xchat.get_info("channel").replace('ubuntu', 'U'))) xchat.hook_print("You Join", settabu_cb)