Why wont this code work.
the variables = space or nil im not sure it does not print out anything though.
cmd = "1|Send[ 10 20]{3}message"
elseif string.find(cmd,"%|Send") ~= nil then
message = string.gsub(cmd,"(.-)}","")
_, _, idList = string.match(cmd,"%[(.+)%]")
--idList = string.gsub(idList,"[","")
--idList = stirng.gsub(idList,"]","")
print(idList)
_, _, sender = string.match(cmd,"{(.+)}")
--sender = string.gsub(sender,"{","")
--sender = string.gsub(sender,"}","")
print(sender)
print(message)