You can use:
set %var $iif(%var == on,off,on) | echo -a Something is now $iif(%var == on,Enabled,Disabled)