expr - a simple calculator that supports LUA expressions
Created On
N/A
Updated On
N/A
Total Views
1
Total Downloads
0
Maintainer
echozrocks
expr
A simple calculator that takes a Lua expression as an argument and prints the result as a system message in your chat window.
Usage: /x
Examples:
Input: /x 50 * 35
Output: 50 * 35 = 1750
Input: /x 30 / 20
Output: 30 / 20 = 1.5
Input: /x sqrt(144)
Output: sqrt(144) = 12
Compatibility
Uses very basic Lua only, and only one function from the WoW API. There is no reason this should not be compatible with every version of the game, but it has only been tested in Warlords of Draenor through The War Within, as well as Classic (1.13+)
Feel free to post any bugs, suggestion or problems in the comments below.