Category: Developer Utilities
Addon Information
Works with 3.2
Download Latest Version.
To add favorites please register for a free account. If you already have one you need to login. How do I install this? (FAQ)
Author:
Version:
1.0
Date:
11-07-2009 10:05 AM
Size:
4.80 Kb
Downloads:
71
Favorites:
12
MD5:
Pictures
Click to enlarge
The console.
Click to enlarge
Additional features
LuaConsole
Tired of using /script while testing ingame?

LuaConsole is an interactive ingame Lua command line terminal which pops up from the top of the screen on key-press an has some useful debugging features.

Output return values
If you append "<<" before your command, LuaConsole will grab the function return values and output them colored by type! Inspired by calculators, it stores the first latest return value in the global variable "ans", so you can continue to work with it.

The ScriptBox
The tabulator key lets you switch to the "ScriptBox" on the right-hand side which acts as a text field for larger code snippets and is saved between sessions. Just enter "run" to execute the code in this box.

Table Browsing
LuaConsole has an experimental feature called "table browsing" which allows you to browse tables as you expect it from directories in real shell terminals. With "cd [table]", this table becomes your working table and you can access it via inserting "$" instead of the table name.
The command "ls [table]" outputs the contents of a table, in the format "key, value".
On the beginning of the session, you are in your home-table "~" - all its entries are saved between sessions.

Debugging commands
With using the command "mouse", it outputs the name of frame you are currently hovering and stores the frame itself in the global variable "frame" for later access.

"whereis [frame]" creates a red border around a frame to see where it is - even if it's hidden.
  Optional Files - LuaConsole
Sorry, there are currently no optional files available.
  Comments - LuaConsole
There have been no comments posted to this file.
Be the first to add one.



Category Jump:




The Network:
EQInterface | EQ2Interface | LoTROInterface | MMOInterface | War.MMOUI | WoWInterface | VGInterface | Allakhazam | Thottbot | Wowhead | Zam


©2009 MMOUI / ZAM Network
vBulletin - Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.