Thread: Slash commands
View Single Post
04-03-09, 02:39 PM   #8
p3lim
A Pyroguard Emberseer
 
p3lim's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2007
Posts: 1,710
Not sure if you saw or not, it checks the default table, matches it with my savedvariable.
using 'if(v == nil) then' wouldnt result in anything, because nothing in the default table is nil.

again:
Code:
for k, v in next, defaults do
      if(type(pMinimapDB[k]) == 'nil') then
            ...
  Reply With Quote