def load(): xs.registerCommand(scfg.command_weaponstats_weaponstats,'weaponstats',cmd_weaponstats,True,True) xs.registerCommand(scfg.command_weaponstats_myweaponstats,'weaponstats',cmd_myweaponstats,True,True) pplchck('xs_ws_list') p = popuplib.easymenu('xs_ws_list','_popup_choice',weaponstats) pp = popuplib.easymenu('xs_ws_mylist','_popup_choice',myweaponstats) weapons.execute("SELECT weapon FROM xs_weapons ORDER BY weapon ASC") for weapon in weapons.fetchall(): p.addoption(weapon,weapon) pp.addoption(weapon,weapon)
def load(): xs.registerCommand(scfg.command_rank,'default',cmd_rank) xs.registerCommand(scfg.command_statsme,'default',cmd_statsme) xs.registerCommand(scfg.command_methods,'default',cmd_methods) xs.registerCommand(scfg.command_settings,'default',cmd_settings) xs.registerCommand(scfg.command_top,'default',cmd_top,True,False) xs.registerCommand(scfg.command_commands,'default',cmd_commands) es.addons.registerSayFilter(xs_filter) menus()
def load(): if GG: extendedstats.registerCommand(scfg.command_gungame_ggwon,'gungame',ggwon_command) extendedstats.loadEvents('gungame') else: extendedstats.dbg( 'XS:GG: No gungame files found')