• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Lua Cant separate stat & amount

Solution
Lua:
local statsSplit = item:getStats()[1]:split(";")
local type = statsSplit[1]
local amount = statsSplit[2]
you could try something like this
edit: fixed typo
Lua:
local statsSplit = item:getStats()[1]:split(";")
local type = statsSplit[1]
local amount = statsSplit[2]
you could try something like this
edit: fixed typo
 
Last edited:
Solution
Back
Top