The underlying Turbine.PluginData.Load functions differently when the plugin is loading and during runtime. When the plugin loads, the data is returned as the result of the function. During runtime, however, the data is not made available immediately so the return value of the function is simply "nil". Instead, the data is passed to the callback function as the first parameter of the callback. For the callback, you should be using something like:
Code:
function load_done(dataload)
-- when the function is called, dataload now has the table of data that is returned
end