构建你的专属扩展
具备编程基础?XChat内置了强大的多语言解析引擎。利用官方API进行 xchat 扩展开发,编写属于您的 xchat python脚本 或 C语言底层模块,深度定制您的通讯终端。
import xchat
engine_init()
xchat.hook_print("Channel Message", on_msg)
[Hook Registered]
xchat.command("AWAY Auto-reply active")
[Executed]
def on_msg(word, word_eol, userdata):
listener()
return xchat.EAT_NONE
[Yield]