[Solved]Question for multiple string names?

Started by Zefk, October 09, 2016, 08:00:03 AM

Previous topic - Next topic
October 09, 2016, 08:00:03 AM Last Edit: November 03, 2016, 08:08:52 PM by Zefk
My text box passes the char to a table.

Code ( lua) Select
local text_box = {
       char={}
}

char = "1"
table.insert(text_box.char,char)

print("Char is:", table.concat(text_box.char))

name = table.concat(text_box.char)

print("His name is:", name)


This works, but how can I pass a different string to more than one person? Would I have to make more tables?

EX:
Code ( lua) Select
local text_box = {
       char= {}
       char2={}
}


I solved this and will post a link to my textbox script later.