def init(): global pdb host.registerHandler('ProcessCommand', onCommand) pdb = PluginDB() pdb.dbconnect()
def init(): global pdb host.registerHandler('ProcessCommand', onCommand, True) pdb = PluginDB() print("[GETGAMES] Connecting to database...") pdb.dbconnect()
def init(): global pdb host.registerHandler('ProcessCommand', onCommand) host.registerHandler('Update', onUpdate) pdb = PluginDB() pdb.notifyReady(dbReady) pdb.setPluginName("lottery")
def init(): global pdb host.registerHandler('ProcessCommand', onCommand) host.registerHandler('ChatReceived', onTalk) host.registerHandler('Update', onUpdate) pdb = PluginDB() pdb.setPluginName("trivia") dbReady()
def init(): global pdb host.registerHandler('ProcessCommand', onCommand) host.registerHandler('Update', onUpdate) if gqGamelist: pdb = PluginDB() pdb.dbconnect() refreshMaps()
def init(): global scores, pdb host.registerHandler('ChatReceived', onTalk) host.registerHandler('ProcessCommand', onCommand) host.registerHandler('Update', onUpdate) pdb = PluginDB() pdb.notifyReady(dbReady) pdb.setPluginName("randspeed")
def init(): global pdb, commandAccess host.registerHandler('ProcessCommand', onCommand, True) pdb = PluginDB() pdb.dbconnect() # configuration config = host.config() commandAccess = config.getInt("p_inactive_access", commandAccess)
def init(): global pdb, controlAccess host.registerHandler("ProcessCommand", onCommand) host.registerHandler("Update", onUpdate) pdb = PluginDB() pdb.setPluginName("alarm") pdb.dbconnect() dbList() # configuration config = host.config() controlAccess = config.getInt("p_alarm_access", controlAccess)
def init(): global pdb, controlAccess host.registerHandler('ProcessCommand', onCommand) host.registerHandler('Update', onUpdate) pdb = PluginDB() pdb.setPluginName("alarm") pdb.dbconnect() dbList() # configuration config = host.config() controlAccess = config.getInt("p_alarm_access", controlAccess)