2011-08-20 22:30:41 +02:00
|
|
|
Module
|
|
|
|
name: console
|
|
|
|
description: Console for executing lua functions
|
|
|
|
author: OTClient team
|
|
|
|
website: https://github.com/edubart/otclient
|
2011-12-05 19:27:07 +01:00
|
|
|
|
|
|
|
// console can be loaded after core
|
2011-08-20 22:30:41 +02:00
|
|
|
autoLoad: true
|
2011-12-05 19:27:07 +01:00
|
|
|
autoLoadPriority: 20
|
|
|
|
|
2011-08-20 22:30:41 +02:00
|
|
|
onLoad: |
|
|
|
|
require 'console'
|
2011-12-07 01:31:55 +01:00
|
|
|
require 'commands'
|
2011-08-29 00:07:22 +02:00
|
|
|
Console.init()
|
2011-08-20 22:30:41 +02:00
|
|
|
|
|
|
|
onUnload: |
|
2011-08-29 00:07:22 +02:00
|
|
|
Console.terminate()
|