touch_of_the_void wrote...
The command you'd want is
CLUAConsole:SetCurrentXP("2950000")
note for those of you new to the console, this command will set your XP level = 2,950,000 (which is considerably more than a level 10 anything). All the command does is set the numerical value of the highlighted character(s) XP. If you have already leveled beyond that (e.g. level 22 as a fighter), reducing your XP will NOT reduce your level, remove your THACO and saving throw gains, etc. ALL it will do is change the numerical value of your XP, meaning it would just take longer to get to level 23 in this example.
So if you don't want your character to level past a 19-level fighter, just don't click the level up button after that.
When you go into TOB, if you don't want to keep your extra XP, use the command above to set it to the SOA xp cap. if you do want to keep the extra XP, you can then level up the rest of that XP.