def unload(): es.unregsaycmd(scfg.say_command_prefix + scfg.command_help) for userid in pending: gamethread.cancelDelayed('xs_delayed_%s' % userid) for addon in addonsunloaders: addon() unloadCommands()
def unload(): es.unregsaycmd('!quake') es.addons.unregisterForEvent(quake_sounds_module, 'player_changename') es.addons.unregisterForEvent(quake_sounds_module, 'player_info') es.addons.unregisterForEvent(quake_sounds_module, 'player_say') es.addons.unregisterForEvent(quake_sounds_module, 'round_freeze_end') es.addons.unregisterForEvent(quake_sounds_module, 'round_end') es.addons.unregisterForEvent(quake_sounds_module, 'bomb_planted') es.addons.unregisterForEvent(quake_sounds_module, 'bomb_defused') es.msg('#multi', '#green[QuakeSounds] #defaultUnloaded')
def unload(): es.unregsaycmd('batmenu') bat_menu.delete() bat_menu_pistols.delete() bat_menu_smg.delete() bat_menu_rifles.delete()
def unload(): es.unregclientcmd('timeleft') es.unregclientcmd('ma_timeleft') es.unregclientcmd('nextmap') es.unregclientcmd('ma_nextmap') es.unregclientcmd('listmaps') es.unregsaycmd('ff') es.unregsaycmd('@timeleft') es.unregsaycmd('@nextmap') es.unregsaycmd('@listmaps')
def unregisterSayCommand(self, name): """ Unregisters a say command """ name = str(name).lower() if name in self.say_commands: es.unregsaycmd(name) del self.say_commands[name]
def tearDown(self): es.unregsaycmd("pycommand") es.unregclientcmd("pycommand")
def unloadCommands(): for saycmd in reggedscmd: es.unregsaycmd(saycmd) for clientcmd in reggedccmd: es.unregclientcmd(clientcmd)
def unload(): cmdlib.unregisterServerCommand("wcs_myracemenu") es.unregclientcmd('myraces') es.unregsaycmd('myraces')
def unregsaycmd(argv): if not es.exists('saycommand', argv[0]): raise ValueError, 'did not find command: %s' % argv[0] es.unregsaycmd(argv[0])
def unload(): es.unregsaycmd('!points') gamethread.cancelDelayed('timer') writefile() msg("unloaded")
def unregsaycmd(argv): if not es.exists('saycommand', argv[0]): raise ValueError('did not find command: %s' % argv[0]) es.unregsaycmd(argv[0])
def unload(): es.unregsaycmd('!points') msg("unloaded")