Hello! so I was wondering
I am doing for an admin commands like this:
:message all hello it’s me xddd
For example, but, how can I do for it detects from >= 2 than splits?
Example
local message = " 1 2 3 4 5 6 7"
local tosplit = message:split(" ")
print(tosplit >= 3)
Obviosuly, this will give error, as i’m trying to compare number with table, but, how can I make like that?
like for example, that it says all message from 3 to upper
like, I want it to print like:
" 4 5 6 7"
What’s your end-goal here? What are you trying to accomplish? Knowing your end-goal will help us solve your problem a bit better. Because there’s multiple ways to go about printing only a portion of a table.
Basically, so let’s suppose I have a message as I showed
local Message = "/message all hello how's your day"
local SplittedMessage = Message:split(" ")
-- What I want to do it's to remove the first 2 spaces and send message to all the other message ignoring the first 2 spaces
local SendMessage = SplittedMessage = [3]..[4]..[5]..[6] -- Exchange of making this, I would want to make like >= [3] But doesn't works with split