The Data file has to also be loaded from within the profile itself. For example, this is what Bu_Ba and Sheuron came up with and I've been using it since:
That is pretty much the universal code we use to load our Data files. Just change anything you see that's PQR_Firepong to your Data file name. For a while now, you haven't had to use the same name as the rotation for the name of the Data file.PHP Code:
if PQR_RotationStarted == true then
PQR_RotationStarted = false
if PQR_LoadLua ~= nil then
if PQR_LoadLua("PQR_Firepong.lua") == false then
PQR_WriteToChat("Put the file PQR_Firepong.lua in the Data file for this profile to work properly!!!", "Error")
PQR_RotationStop()
return true
end
end
end
If after using the above, you still get a error, then you have a coding problem in your Data file somewhere.