Form for choosing settings for a game
On a cursory glance, you can change the statement:

if (enabled) then _G["min"..option].cbutton:SetChecked(1) else _G["min"..option].cbutton:SetChecked(0) end


to

_G["min"..option].cbutton:SetChecked( enabled and 1 or 0 )