Earlier Versions
Name | Size | Uploaded | Game Version | Downloads | |
1.2 release | 7.46 KB | Dec 14, 2019 | 8.2.5 +1 | 198 | Download |
1.1 release | 7.27 KB | Jun 26, 2018 | 7.3.5 +11 | 436 | Download |
1.0 release | 7.59 KB | Jul 23, 2015 | 6.2.0 | 744 | Download |
Screenshots
Description
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 <expression>
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, Legion, Classic (1.13+) and Battle for Azeroth.
Feel free to post any bugs, suggestion or problems in the comments below.
Source code
Git: https://git.echoz.io/chris/expr
Add a comment