def init(): global pdb host.registerHandler('ProcessCommand', onCommand) host.registerHandler('Update', onUpdate) pdb = PluginDB() pdb.notifyReady(dbReady) pdb.setPluginName("lottery")
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")