Hi! I am new to this website, I'm happy this website exists :)
I made my own Local Chat system, so basically, .Chatted event is not used, Instead, I use ChildAdded in ReplicatedStorage, the msg being stored in and waiting for a child to be added in the Service.
I am a Skilled Scripter, but I just can't understand how string.sub, string.match and string.find works.. I've done many attempts trying to do this...
In order to make a nice votekicking script, I need to know how to use these string methods, to catch the playername string, also with "kick/playe", "kick/p", kick/playern", but if there's two or more players with the same shortened string name, it would return nil and the script would stop.
Example:
"Ronald29391", "Ronlee23893" or more. "kick/ron" > nil
Could anyone give me a concrete explanation on how to do this, please?
~Pen
