WoW expr – a simple calculator that supports LUA functions addon Dragonflight/Wrath of the Lich King Classic 2024
logo
wow addon expr – a simple calculator that supports LUA functions

expr – a simple calculator that supports LUA functions

Game Version: 8.2.5 +1
Total Downloads: 1,378
Updated: Dec 14, 2019
Created: Jul 23, 2015
download expr – a simple calculator that supports LUA functionsDownload Earlier Versions

Earlier Versions

Name Size Uploaded Game Version Downloads
1.2 release 7.46 KB Dec 14, 2019 8.2.5 +1 198 download expr – a simple calculator that supports LUA functions 1.2 releaseDownload
1.1 release 7.27 KB Jun 26, 2018 7.3.5 +11 436 download expr – a simple calculator that supports LUA functions 1.1 releaseDownload
1.0 release 7.59 KB Jul 23, 2015 6.2.0 744 download expr – a simple calculator that supports LUA functions 1.0 releaseDownload

Screenshots

Description

Share this:

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

Comments

Add a comment