1-file->global preference->lua
Ķȫɾδ룺
--the following code added by Alex
var = {}	-- variables table
pid="d1708edb63ed566090b4118e"--plugin for all status

setmetatable (var, 
 { 
 -- called to access an entry
 __index = 
 function (t, name) 
 local res=GetVariable (name) or GetPluginVariable(pid, name)
  return tonumber(res) or res
 end;
 
 -- called to change or delete an entry
 __newindex = 
 function (t, name, val) 
 local result
   if val == nil then	-- nil deletes it
     result = DeleteVariable (name)
   else
     result = SetVariable (name, tostring (val)) 
   end 
   -- warn if they are using bad variable names
   if result == error_code.eInvalidObjectLabel then
     error ("Bad variable name '" .. name .. "'")
   end
 end;
 })
 2-رmc´
 3-Ҹ3
 4-runʼ
 õǾŽ
 