Posted 07 April 2012 - 01:32 AM
I have the following problem ( and yes I tried myself ). I never used tables before and now I need to know:
Is it possible to print a table in a table?
I have this
Now i want to print the servername table instead the ServerID Table but still keep the ID values in use So If I type for example 1 it uses the 1. entry of table ServerID but on screen [1]Test-Server is written.
Sry if my language is a mess I'm german ;P
Is it possible to print a table in a table?
I have this
for k,v in pairs(ServerID) do
print("["..tostring(k).."]S_IP: "..tostring(v))
end
And I have a second table called serverNamesNow i want to print the servername table instead the ServerID Table but still keep the ID values in use So If I type for example 1 it uses the 1. entry of table ServerID but on screen [1]Test-Server is written.
Sry if my language is a mess I'm german ;P