Navigation menu

WoW:Saving variables between game sessions: Difference between revisions

Jump to navigation Jump to search
m
→‎VARIABLES_LOADED event: Fixed typo in a variable name.
m (→‎VARIABLES_LOADED event: Improved readability.)
m (→‎VARIABLES_LOADED event: Fixed typo in a variable name.)
Line 121: Line 121:
     if event == 'VARIABLES_LOADED' then
     if event == 'VARIABLES_LOADED' then
         if(not tableName.key1) then tableName.key1 = 'value1' end;
         if(not tableName.key1) then tableName.key1 = 'value1' end;
         if(not tableName.key2) then tableName.key1 = 'value2' end;
         if(not tableName.key2) then tableName.key2 = 'value2' end;
     end
     end
  end
  end
Anonymous user