Lua Invoke
Does exactly what it says on the box.
Adds a /lua command which allows you to execute Lua code on the fly from the chat box.
This lets you do things like use Lua for quick calculations or access parts of the Addon API.
For example;
/lua return 16 * 2048
/lua Print(Apollo.GetString("ChatLog_MultiJournal"))
/lua s = {"This", " is ", "neat!"}; return unpack(s)
- Output gets sent to the Debug channel.
- Compile and Runtime errors are all caught and appropriate error messages are output to debug. No addon errors should occur.
- Supports multiple return values.
- Return values are converted using tostring to attempt to output useful information.
- Stack tracing can be toggled using /lua trace (or /luatrace). Disabled by default.
This is offered as an alternative to the /eval command, not a replacement. Output should be cleaner, displayed along with the input that generated it, and faster to output values to the chat window. Stack trace info is only displayed if it is toggled on.
If you are a looking for a more feature-rich package, take a look at GeminiConsole over on the Wildstar forums or from wildstarnasa's git repository. It ties in with the rest of the Gemini package and offers integration with their GeminiLogging addon, along with features like multi-line input, partial chunk evaluation and expression inspection.
Feel free to use this however you like. If for whatever reason you use any portion of this code in your own project, credit in a comment of your source would be nice, but I won't hold you to it. :)
Download
File Name | Status | Version | Downloads | Date |
---|---|---|---|---|
LuaInvoke.zip | R | API 8 | 2,567 | 17/06/2014 |
Lua Invoke API16 | Updating | API16 | Updating | Updating |
Lua Invoke API15 | Updating | API15 | Updating | Updating |
Lua Invoke API14 | Updating | API14 | Updating | Updating |
Lua Invoke API13 | Updating | API13 | Updating | Updating |
Lua Invoke API12 | Updating | API12 | Updating | Updating |
Lua Invoke API 11 | Updating | API 11 | Updating | Updating |
Lua Invoke API 10 | Updating | API 10 | Updating | Updating |
Lua Invoke API 9 | Updating | API 9 | Updating | Updating |
Lua Invoke API 7 | Updating | API 7 | Updating | Updating |
Lua Invoke API 6 | Updating | API 6 | Updating | Updating |
Have you a channel youtube and want to bring your Video to quality visitors?
Do you want your video to appear on our website?
Do you want to become partner with us?
Just 3 steps to become our partner:
Step 1: Make video review for mods, addons, plugins, ... which you like
Step 2: Upload this video to youtube and our link to your video description
Step 3: Send the youtube video link via message to http://fb.com/9lifehack or leave a comment in the post. We will add your video in the our post, it will help you have more view.
JOIN to get more youtube view with us!!!!