@@ -0,0 +1,1465 @@
+from __future__ import print_function%0A%0A__module_name__ = 'AKILL script'%0A__module_version__ = '0.1'%0A__module_description__ = 'AKILL oper script for Atheme and forks services packages'%0A__author__ = 'Daniel A. J.'%0A%0Aimport hexchat%0A%0Ahelp_hook = %22%5C%22/sakill  %3Cnick%7Chostmask%3E %3Cpublic reason%3E %7C %3Cprivate oper reason%3E%5C%22%22 %5C%0A            %22 AKILLs the specified nick or hostmask for 24 hours.%22%0A%0Adef sakill(word, word_eol, userdata):%0A    user = word%5B1%5D%0A    public_reason = ' '.join(word%5B2:word.index('%7C')%5D)%0A    private_reason = ' '.join(word%5Bword.index('%7C') + 1:%5D)%0A%0A    if len(word) %3E 1:%0A        try:%0A              hexchat.command(%22os akill add %25s !T 24h You have violated foo's terms of service. %22%0A                              %22%25s. If in error, please send an e-mail to foo@admin.com %7C %25s%22 %0A                              %25 (user, public_reason, private_reason))%0A              return hexchat.EAT_ALL%0A        except ValueError:%0A            hexchat.prnt(%22USAGE: /sakill  %3Cnick%7Chostmask%3E %3Cpublic reason%3E %7C %3Cprivate oper reason%3E%22)%0A            %0A            return hexchat.EAT_ALL%0A    else:%0A        hexchat.prnt(%22USAGE: /sakill %3Cnick%7Chostmask%3E %3Cpublic reason%3E %7C %3Cprivate oper reason%3E%22)%0A        %0A        return hexchat.EAT_ALL%0A%0Adef unload_sakill(userdata):%0A    print(__module_name__, 'version', __module_version__, 'unloaded.')%0A%0Ahexchat.hook_command('sakill', sakill, help = help_hook)%0Ahexchat.hook_unload(unload_sakill)%0Aprint(__module_name__, 'version', __module_version__, 'loaded.')%0A

Add akill.py