I need to manipulate some strings in a certain way and I have know idea how.
local msg = '/kick Player1'
if "Check if msg starts with a '/'" then
local cmd = --Get part after '/' as cmd
local arg = --Get argument after cmd
Thx in advance
I need to manipulate some strings in a certain way and I have know idea how.
local msg = '/kick Player1'
if "Check if msg starts with a '/'" then
local cmd = --Get part after '/' as cmd
local arg = --Get argument after cmd
Thx in advance
This discussion is preserved as it was. New answers, comments, and votes are closed.
1 comment
idk what you're asking for