Api/netlib.gettable(): Difference between revisions

From Minux Wiki
Jump to navigation Jump to search
(Created page with "netlib function used to receive a table expected to be sent with "sendtable" sendtable will first send a regular rednet message with the string "sendtable", when you catch this you know a table is comming next '''usage:''' local table = netlib.gettable(client) '''output:''' returns the table if successfull, returns false if failed")
 
No edit summary
Line 1: Line 1:
[[Api/netlib|netlib function]] used to receive a table expected to be sent with "sendtable"
[[Api/netlib|netlib function]] used to receive a table expected to be sent with "sendtable"


sendtable will first send a regular rednet message with the string "sendtable", when you catch this you know a table is comming next





Revision as of 02:17, 14 October 2024

netlib function used to receive a table expected to be sent with "sendtable"


usage:

local table = netlib.gettable(client)


output:

returns the table if successfull,

returns false if failed