Is there an easy way to make text vertical such as:
1
2
3
4
Where the input to would be a string "1234"
Basically trying to make the following vertical, where GetStack gets the current stack of the currency
Code:favor:SetText(GetStack("Favor"))
Is there an easy way to make text vertical such as:
1
2
3
4
Where the input to would be a string "1234"
Basically trying to make the following vertical, where GetStack gets the current stack of the currency
Code:favor:SetText(GetStack("Favor"))
If that doesn't work, change it to "%a+"Code:local input = "1234" for number in string.gmatch(input, "%d+") do print(number) end
http://www.lua.org/pil/20.1.html
Here is the official Lua doc on patterns; click the <- -> buttons on the page, not in your browser, to read through the chapter.
Bookmarks