-
Notifications
You must be signed in to change notification settings - Fork 9
command lua.xml
slawkens edited this page Oct 8, 2018
·
1 revision
Return current position of character that used the command:
/lua return getCreaturePosition(cid)
Return an example array of numerical data:
/lua return [1, 2, 3]
You can even make some mathematical operations in-game! Addition:
/lua return 1 + 5
Deduction:
/lua return 9 - 5
Multiplication:
/lua return 5 * 5
And division!
/lua return 5 / 3
Want more? Check awesome Lua 5.1 Reference Manual with full functions list! https://www.lua.org/manual/5.1/manual.html