Let me get this straight... You want nMainbars enabled for your character only? If so, just disable it for your other characters.
If you want to change a configuration variable for a different character, then you can do so like this:
Code:
local name = UnitName('player')
local somevar = true
if name =="Yourcharname" then
somevar = false
end