Use the console.
Hit the ~ key (BEFORE each line) and type:
(~) DebugMode 1 (Hit Return)
(~) dm_givelevel x (x=no. of levels) (Hit Return)
Your cursor should change to target mode, click on your character to give him the x no. of levels. To finish off, type:
(~) DebugMode 0 (Hit Return)
Note: the syntax in each line is very important. Make sure you type this exactly as shown above.
If you don't have the ~ symbol on your keyboard, click in the chatbox at the bottom of the screen and type:
##DebugMode 1 (Return)
##dm_givelevel x (Return) (Click on character to give levels)
##DebugMode 0 (Return)
Which should work all the time.
Don't try to play in DebugMode 1, weird things happen!
This is a post I made to UB a while ago. You can keep everything the same except change the second line for the XP and Gold respectively.
XP: GiveXP x (x=xp amount)
Gold: dm_givegold x (x=gold amount)
So again, where it says 'dm_givelevel x' in my quoted example just substitute those other lines. Keep the rest the same and WATCH THE SYNTAX.
Good luck. Don't cheat too much, it ruins the game. <img src="/ubbthreads/images/graemlins/biggrin.gif" alt="" />