from getconfig import get_config_value
cmdchar = get_config_value('misc.cmdchar')

def public(c, e, bot):
    if e.arguments[0][:len(cmdchar)] != cmdchar:
        return
    pass

def private(c, e, bot):
    pass

@@ -32,16 +32,28 @@
 g_value%0A
+import sys%0A%0A
 cmdchar 
@@ -87,16 +87,67 @@
 dchar')%0A
+admins = get_config_value('misc.admins').split('/')
 %0Adef pub
@@ -226,16 +226,394 @@
  return%0A
+    print('proceeding with command %25s.' %25 e.arguments%5B0%5D%5Blen(cmdchar):%5D)%0A    cmd = e.arguments%5B0%5D%5Blen(cmdchar):%5D%0A    print('%25s' %25 cmd)%0A    args = cmd.split(' ')%5B1:%5D%0A    cmd = cmd.split(' ')%5B0%5D%0A    print('%25s, %25s, %25s' %25 (cmd, args, e.source))%0A    if cmd == 'quit' and e.source.split('!')%5B0%5D in admins:%0A        c.disconnect('Quitted from IRC by %25s' %25 e.source)%0A        sys.exit(0)%0A
     pass

add more command parsing, quit command