lua:savetbl
This is an old revision of the document!
savetbl
Syntax: savetbl( filename, table)
Saves 'table' in a file named according to 'filename' arg in the area directory (home area, not current area) of the mob/obj/area calling savetbl.
Example:
local abc={1,2,3} savetbl("whatev", abc)
loadtbl
Syntax: loadtbl( filename )
If 'filename' file exists in the area directroy of the mob/obj/area calling loadtbl then returns the table stored in it, otherwise returns nil. Example:
local oink=loadtbl("whatev")
Example script: Sharing Info Between Progs
lua/savetbl.1419399114.txt.gz · Last modified: 2014/12/24 05:31 by vodur