I'm not asking anyone to write me any free scripts. I just want to be able to do this.
I'm trying to acquire a username from inside a string and then be able to see the stuff after that username. I tried using ;match() and then using :sub() inside to find the spot in the words, but to be honest I knew it wasn't going to work.
I'm not including the part where it checks if the word it's acquired is a username, because I can do that on my own and it's not what I'm having problems with.
local string = "[]Terminate Troidit test test."
local termPlr = msg:match(msg,msg:sub(13)"%w+")
local details = msg:sub(15) --This is just a random number right now. It's supposed to acquire the text after the username, but I don't know how to do that.
print(termPlr.." "..details)
I feel kind of clueless after reading the string manipulation library on the Wiki here. Any help explaining or solving this problem would be greatly appreciated.

2 comments
Try details = string:sub(13, 19)
If you trying printing details, it should be your name.