My current sayfunction is like;
!func {value} {value} {value} {value} {value}
or
!func atme
local string = "Hello my name is David" local t = totable(string)
function totable(t,match) local cmd = {} if not match then match = "[^%s]+" end for word in string.gmatch(t, match) do table.insert(cmd, word) end return cmd end