I have problem. I have this kind of action in setup:

if MPTrain == true then
setsettings("Settings\\Healer\\Rules\\Exura\\Enabled","yes")
else
setsettings("Settings\\Healer\\Rules\\Exura\\Enabled","no")
end

but if i type false it doesn't change Enabled to NO and if i type true and it is already disabled it doesn't change Enabled to YES. I tried a lot, I changed working script to be same as this above and it worked. So i Exported this to file.xml then imported and it doesn't work again. What I have to do. Action is 99,9999999999% good and i have also libraries. Can sb explain this?