2011-08-20 22:30:41 +02:00
|
|
|
Module
|
2012-01-07 18:36:58 +01:00
|
|
|
name: terminal
|
|
|
|
description: Terminal for executing lua functions
|
2011-08-20 22:30:41 +02:00
|
|
|
author: OTClient team
|
|
|
|
website: https://github.com/edubart/otclient
|
2011-12-05 19:27:07 +01:00
|
|
|
|
2011-08-20 22:30:41 +02:00
|
|
|
autoLoad: true
|
2012-01-05 19:31:52 +01:00
|
|
|
autoLoadPriority: 1000
|
2011-12-05 19:27:07 +01:00
|
|
|
|
2011-08-20 22:30:41 +02:00
|
|
|
onLoad: |
|
2012-01-07 18:36:58 +01:00
|
|
|
require 'terminal'
|
2011-12-07 01:31:55 +01:00
|
|
|
require 'commands'
|
2012-01-07 18:36:58 +01:00
|
|
|
Terminal.init()
|
2011-08-20 22:30:41 +02:00
|
|
|
|
|
|
|
onUnload: |
|
2012-01-07 18:36:58 +01:00
|
|
|
Terminal.terminate()
|