Scripting Moderators ds1-e Posted July 1, 2019 Scripting Moderators Share Posted July 1, 2019 (edited) Hey. Is there any way to get string with spaces from arguments in command? For example i want to get complete string when using command: /getstring String with spaces So it doesn't count as other arguments, and it should return one complete string. Edited July 1, 2019 by majqq Link to comment
Moderators IIYAMA Posted July 1, 2019 Moderators Share Posted July 1, 2019 (edited) function test (arg1, arg2, ...) local restOf = table.concat({...}, " ") end ... < dynamic arguments. function test2 (...) setElementPosition(...) end test2(element, 1220, 100, 100) Edited July 1, 2019 by IIYAMA 1 Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now