Board Thread:Lua Help/@comment-24473195-20140814161206/@comment-2093602-20140815131723

The name of the variable should be a string local v = require('Module:Variables') v.define('stats','0') =v.get('stats') (Also the define function doesn't return anything)