Module name: mainmenu description: Create the game mainmenu, where everything starts author: OTClient team website: https://github.com/edubart/otclient version: 0.2 autoLoad: true dependencies: - core onLoad: | require 'mainmenu' require 'entergame' require 'characterlist' if not initialized then MainMenu.create() initialized = true end return true onUnload: | MainMenu.destroy() initialized = false