EDIT: Ok, got it. Get any tank, then
for index,value in pairs(tank) do print(index) endand watch And I thought I weren't a Lua noob.
Posted 07 June 2013 - 01:15 PM
for index,value in pairs(tank) do print(index) endand watch And I thought I weren't a Lua noob.
Posted 07 June 2013 - 04:01 PM
Xiretza, on 07 June 2013 - 01:15 PM, said:
for index,value in pairs(tank) do print(index) endand watch And I thought I weren't a Lua noob.
print(textutils.serialize(mydata))
Posted 07 June 2013 - 04:12 PM
Posted 07 June 2013 - 04:43 PM
Posted 07 June 2013 - 05:44 PM
Creeper367, on 07 June 2013 - 04:43 PM, said:
Posted 07 June 2013 - 05:46 PM
Posted 07 June 2013 - 06:25 PM
Posted 07 June 2013 - 07:02 PM
Posted 07 June 2013 - 08:54 PM
Mikeemoo, on 07 June 2013 - 05:44 PM, said:
Creeper367, on 07 June 2013 - 04:43 PM, said:
Posted 08 June 2013 - 01:39 AM
Posted 08 June 2013 - 01:48 AM
Posted 08 June 2013 - 04:23 AM
Posted 08 June 2013 - 04:24 AM
Lyqyd, on 08 June 2013 - 01:48 AM, said:
returned = { ["Lyqyd"] = { ["health"] = 6, ["hunger"] = 7 }, ["pingoleon60"] = { ["health"] = 8, ["hunger"] = 5 } } print(returned["Lyqyd"]["health"]) print(returned["pingoleon60"]["hunger"])
Posted 08 June 2013 - 04:45 AM
Posted 08 June 2013 - 04:49 AM
Posted 08 June 2013 - 10:24 AM
Posted 08 June 2013 - 02:00 PM
Posted 08 June 2013 - 02:21 PM
Posted 08 June 2013 - 06:42 PM
0 members, 1 guests, 0 anonymous users