I'm afraid I'm missing something...
Using the previous (1.2) version of FuBar I've used the following construction to create a dynamic menu:
Code:
functionToAddMenuItem
dewdrop:AddLine(parameters)
end
function AddOn:MenuSettings(level, value)
-- add dynamic lines
for a number of items
if condition TRUE then
functionToAddMenuItem
end
end
if condition TRUE then dewdrop:AddLine('')
-- add a few more lines
dewdrop:AddLine(parameters)
dewdrop:AddLine(parameters)
dewdrop:AddLine(parameters)
end
What I'm asking is: is it possible to recreate this in FuBar 2.0? Looking at the Option table construction I'm not sure if this fits...