I think a similar function ist already built-in.
/dump <lua expression> executes the lua expression and prints the return value to the chat, i.e. /dump 2+2 would print 4, but the expression may be as complicated as you like.
I'm pretty sure /dump is an Ace2 command, and not built in.
I think a similar function ist already built-in.
/dump <lua expression> executes the lua expression and prints the return value to the chat, i.e. /dump 2+2 would print 4, but the expression may be as complicated as you like.