Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local name = "slap.lua"
- local desc = "Trout slap"
- local version = "0.1"
- hexchat.register(name, version, desc)
- local function cmd_slap(string)
- local target=string[2]
- hexchat.command("me slaps " .. target .. " around a bit with a large trout")
- return hexchat.EAT_ALL
- end
- local help = "Trout slap! Fun!"
- hexchat.hook_command("SLAP", cmd_slap, help)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement