Example #1
0
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')
Example #2
0
 def unregisterClientCommand(self, name):
    """ Unregisters a client command """
    name = str(name).lower()
    if name in self.client_commands:
       es.unregclientcmd(name)
       del self.client_commands[name]
Example #3
0
def unload():
    es.unregclientcmd("zdebug")
    es.unregclientcmd("zdebugline")
    msg("unloaded")
Example #4
0
 def tearDown(self):
   es.unregsaycmd("pycommand")
   es.unregclientcmd("pycommand")
Example #5
0
def unloadCommands():
    for saycmd in reggedscmd:
        es.unregsaycmd(saycmd)
    for clientcmd in reggedccmd:
        es.unregclientcmd(clientcmd)
Example #6
0
 def unregisterClientCommand(self, name):
    """ Unregisters a client command """
    name = str(name).lower()
    if name in self.client_commands:
       es.unregclientcmd(name)
       del self.client_commands[name]
Example #7
0
def unload():
    cmdlib.unregisterServerCommand("wcs_myracemenu")
    es.unregclientcmd('myraces')
    es.unregsaycmd('myraces')
 def tearDown(self):
     es.unregsaycmd("pycommand")
     es.unregclientcmd("pycommand")
def unregclientcmd(argv):
  if not es.exists('clientcommand', argv[0]):
    raise ValueError, 'did not find command: %s' % argv[0]
  es.unregclientcmd(argv[0])
def unregclientcmd(argv):
    if not es.exists('clientcommand', argv[0]):
        raise ValueError('did not find command: %s' % argv[0])
    es.unregclientcmd(argv[0])
Example #11
0
def unload():
    es.unregclientcmd('spendskills')
    es.unregclientcmd('playerinfo')
    es.unregclientcmd('resetskills')
    es.unregclientcmd('showskills')
    es.unregclientcmd('showcredits')
    es.unregclientcmd('wcstop')
    es.unregclientcmd('showtop10')
    es.unregclientcmd('shopmenu')
    es.unregclientcmd('shopinfo')
    es.unregclientcmd('changerace')
    es.unregclientcmd('raceinfo')
    es.unregclientcmd('wcshelp')
    es.unregclientcmd('warcraft')
    es.unregclientcmd('feedback')
    es.unregclientcmd('wcsmenu')
    es.unregclientcmd('wcs')
    es.unregclientcmd('showxp')