コード例 #1
0
ファイル: highlight.py プロジェクト: v-legoff/accertin
def unload():
  """ Unloads the module by calling any unload/unbind functions."""
  global hm
  modutils.unload_commands(commands_dict.keys())
  exported.remove_manager("highlight")

  exported.hook_unregister("mud_filter_hook", hm.mudfilter)
  exported.hook_unregister("write_hook", hm.persist)
コード例 #2
0
ファイル: alias.py プロジェクト: v-legoff/accertin
def unload():
  """ Unloads the module by calling any unload/unbind functions."""
  global am
  modutils.unload_commands(commands_dict.keys())
  exported.remove_manager("alias")

  exported.hook_register("user_filter_hook", am.userfilter)
  exported.hook_register("write_hook", am.persist)
コード例 #3
0
def unload():
  """ Unloads the module by calling any unload/unbind functions."""
  global am
  modutils.unload_commands(list(commands_dict.keys()))
  exported.remove_manager("alias")

  exported.hook_register("user_filter_hook", am.userfilter)
  exported.hook_register("write_hook", am.persist)
コード例 #4
0
def unload():
  """ Unloads the module by calling any unload/unbind functions."""
  modutils.unload_commands(list(commands_dict.keys()))
  mapper.unload()
  exported.remove_manager("sowmud")

  exported.hook_unregister("mud_filter_hook", smm.mudfilter)
  exported.hook_unregister("user_filter_hook", smm.userfilter)
  exported.hook_unregister("disconnect_hook", smm.reconnect)
コード例 #5
0
ファイル: logger.py プロジェクト: v-legoff/accertin
def unload():
  """ Unloads the module by calling any unload/unbind functions."""
  global lm
  modutils.unload_commands(commands_dict.keys())
  exported.remove_manager("logger")

  exported.hook_unregister("to_mud_hook", lm.tomudfilter)
  exported.hook_unregister("mud_filter_hook", lm.mudfilter)
  exported.hook_unregister("prompt_hook", lm.promptfilter)
コード例 #6
0
def unload():
  """ Unloads the module by calling any unload/unbind functions."""
  global vm
  modutils.unload_commands(list(commands_dict.keys()))
  exported.remove_manager("variable")

  exported.hook_unregister("user_filter_hook", vm.userfilter)
  exported.hook_unregister("user_filter_hook", vm.denestVars)
  exported.hook_unregister("default_resolver_hook", vm.defaultResolver)
  exported.hook_unregister("write_hook", vm.persist)
コード例 #7
0
ファイル: variable.py プロジェクト: OSadovy/lyntin
def unload():
    """ Unloads the module by calling any unload/unbind functions."""
    global vm
    modutils.unload_commands(commands_dict.keys())
    exported.remove_manager("variable")

    exported.hook_unregister("user_filter_hook", vm.userfilter)
    exported.hook_unregister("user_filter_hook", vm.denestVars)
    exported.hook_unregister("default_resolver_hook", vm.defaultResolver)
    exported.hook_unregister("write_hook", vm.persist)
コード例 #8
0
ファイル: speedwalk.py プロジェクト: OSadovy/lyntin
def unload():
  """ Unloads the module by calling any unload/unbind functions."""
  global sm
  modutils.unload_commands(commands_dict.keys())
  exported.remove_manager("speedwalk")

  exported.hook_unregister("user_filter_hook", sm.userfilter)
  exported.hook_unregister("write_hook", sm.persist)

  # remove configuration items for every session involved
  for mem in exported.get_active_sessions():
    exported.remove_config("speedwalk", mem)
コード例 #9
0
def unload():
    """ Unloads the module by calling any unload/unbind functions."""
    global sm
    modutils.unload_commands(commands_dict.keys())
    exported.remove_manager("substitute")

    exported.hook_unregister("mud_filter_hook", sm.mudfilter)
    exported.hook_unregister("write_hook", sm.persist)

    # remove configuration items for every session involved
    for mem in exported.get_active_sessions():
        exported.remove_config("ignoresubs", mem)
コード例 #10
0
def unload():
    """ Unloads the module by calling any unload/unbind functions."""
    global am, var_module
    modutils.unload_commands(commands_dict.keys())
    exported.remove_manager("alias")

    exported.hook_unregister("mud_filter_hook", am.mudfilter)
    exported.hook_unregister("write_hook", am.persist)
    exported.hook_unregister("variable_change_hook", am.variableChange)

    # remove configuration items for every session involved
    for mem in exported.get_active_sessions():
        exported.remove_config("ignoreactions", mem)
コード例 #11
0
ファイル: action.py プロジェクト: avidal/lyntin
def unload():
  """ Unloads the module by calling any unload/unbind functions."""
  global am, var_module
  modutils.unload_commands(commands_dict.keys())
  exported.remove_manager("alias")

  exported.hook_unregister("mud_filter_hook", am.mudfilter)
  exported.hook_unregister("write_hook", am.persist)
  exported.hook_unregister("variable_change_hook", am.variableChange)

  # remove configuration items for every session involved
  for mem in exported.get_active_sessions():
    exported.remove_config("ignoreactions", mem)
コード例 #12
0
ファイル: ifvar.py プロジェクト: rascul/lyntin-modules
def unload():
    modutils.unload_commands(commands_dict.keys())
    exported.remove_help("root.commands.ifvar")
コード例 #13
0
ファイル: recur_move.py プロジェクト: leebrary/lyntin-stuff
def unload():
    modutils.unload_commands(commands_dict)
    exported.unhook_register('mud_filter_hook',mud_filter)
コード例 #14
0
ファイル: lyntincmds.py プロジェクト: OSadovy/lyntin
def unload():
  """ Unloads the module by calling any unload/unbind functions."""
  modutils.unload_commands(commands_dict.keys())
コード例 #15
0
ファイル: lyntincmds.py プロジェクト: manuelcortez/mudder
def unload():
    """ Unloads the module by calling any unload/unbind functions."""
    modutils.unload_commands(commands_dict.keys())
コード例 #16
0
ファイル: rapid_unload.py プロジェクト: leebrary/lyntin-stuff
def unload():
    modutils.unload_commands(command_dict)
コード例 #17
0
ファイル: join_cir.py プロジェクト: leebrary/lyntin-stuff
def unload():
    modutils.unload_commands(commands_dir)
コード例 #18
0
def unload():
    """ Unbinds the commands (for when we reimport the module)."""
    modutils.unload_commands(commands_dict)
コード例 #19
0
ファイル: sound.py プロジェクト: v-legoff/accertin
def unload():
    """ Unbinds the commands (for when we reimport the module)."""
    modutils.unload_commands(commands_dict)
コード例 #20
0
ファイル: multimudfilter.py プロジェクト: v-legoff/accertin
def unload():
    """ Unloads the module by calling any unload/unbind functions."""
    exported.hook_unregister("mud_filter_hook", mudfilter)
    modutils.unload_commands(commands_dict)
コード例 #21
0
ファイル: scheduler.py プロジェクト: v-legoff/accertin
def unload():
    global myscheduler

    myscheduler.shutdown()
    myscheduler = None
    modutils.unload_commands(commands_dict)
コード例 #22
0
ファイル: get_em.py プロジェクト: leebrary/lyntin-stuff
def unload():
    exported.hook_unregister("timer_hook", timerget)
    exported.hook_unregister("mud_filter_hook", look_fortarget)
    modutils.unload_commands(command_dic)
コード例 #23
0
def unload():
	exported.hook_unregister("from_mud_hook", handle_from_mud)
	modutils.unload_commands(commands_dict.keys())
	exported.remove_help("root.commands.commo")
コード例 #24
0
ファイル: deed.py プロジェクト: OSadovy/lyntin
def unload():
  """ Unloads the module by calling any unload/unbind functions."""
  global dm
  modutils.unload_commands(commands_dict.keys())
  exported.remove_manager("deed")
コード例 #25
0
ファイル: scheduler.py プロジェクト: v-legoff/accertin
def unload():
  global myscheduler

  myscheduler.shutdown()
  myscheduler = None
  modutils.unload_commands(commands_dict)
コード例 #26
0
def unload():
    """ Unloads the module by calling any unload/unbind functions."""
    global dm
    modutils.unload_commands(commands_dict.keys())
    exported.remove_manager("deed")
コード例 #27
0
ファイル: ifvar.py プロジェクト: rascul/lyntin-modules
def unload():
	modutils.unload_commands(commands_dict.keys())
	exported.remove_help("root.commands.ifvar")