Lua Extensions for Hexchat
Here is a simple Lua extension that can clear every history in Hexchat:
Filename: customizations.lua
local name = "customizations.lua"
local version = "0.0"
local descriptiom = "Customizations"
hexchat.register(name, version, descriptiom)
local help="Usage: /RESET"
local function reset_command()
for channel in hexchat.iterate("channels") do
hexchat.command("clear all")
hexchat.command("clear history")
end
return hexchat.EAT_HEXCHAT
end
hexchat.hook_command("RESET", reset_command, reset_help)
hexchat.print("Loaded customizations.")

0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home