client_data[cl1.key] = nil
end)
+function commands.hookinfo(client, source, command, args)
+ for k1, v1 in pairs(managed_hooks) do
+ local s = k1.." ::"
+ for k2, v2 in pairs(v1.fns) do
+ s = s.." "..k2..";"
+ end
+ client_notice(client, s)
+ end
+ client_notice(client, "done")
+end
function commands.echo(client, source, command, args)
client_notice(client, "client = "..tostring(client))
client_notice(client, "source = "..tostring(source))