There are quite a few cheats for NWN, but getting them to work is a little tricky. 

First, you will need to hit the tilde (~) key and type in "DebugMode 1" (case sensitive). Then hit the ~ key again and press TAB. This should show you a list of the different functions available. Hit TAB again to scroll down the list. 

Cheats: (case sensitive)(X is a number) 

SetCHA X - Sets your Charisma 

SetSTR X - Sets your Strength 

SetINT X - Sets your Intelligence 

SetWIS X - Sets your Wisdom 

SetCON X - Sets your Constitution 

dm_givegold X - Gives the X amount of gold to you 

GetLevel X - Raises you an additional X amount of levels 

dm_god - Makes you invulneralble (does not require you to click on the player character) 

 

On some of the cheats, it will simply give you a message saying "success" after you enter the code and press ENTER. Other ones, such as the SetCHA will say "Entered Target Mode". You must click on your character to enable the changes on your character. 

 

Check out the in-game listing, since it contains a whole bunch of different functions. 

alternative cheats: 

To use a command line action, you can bring up the console using the tilde key. You can also enter console commands into the chat widow by prefacing them with a double pound ?##?. 

ModAge # 

ModAttackBase # 

ModSave 

ModSTR # 

ModDEX # 

ModCON # 

ModINT # 

ModWIS # 

ModCHA # 

ModSaveFort 

ModSaveReflex 

ModSaveWill 

ModSpellResistance # 

SetAge # 

SetAttackBase # 

SetSave 

SetSTR # 

SetDEX # 

SetCON # 

SetINT # 

SetWIS # 

SetCHA # 

SetSpellResistance # 

GiveXP # 

GiveLevel # 

runscript NAME 

GetVarInt 

GetVarFloat 

GetVarString 

GetVarObject 

GetVarVector 

SetVarInt 

SetVarFloat 

SetVarString 

SetVarObject 

SetVarVector 

GetVarModInt 

GetVarModFloat 

GetVarModString 

GetVarModObject 

GetVarModVector 

SetVarModInt 

SetVarModFloat 

SetVarModString 

SetVarModObject 

SetVarModVector 

SetAppearance 

nwnplayer.ini modification 

If you modify any value using the console your character becomes "invalid" for the next chapter. To fix this, change the following setting in your nwnplayer.ini 

"Single Player Enforce Legal Characters=1" to 

"Single Player Enforce Legal Characters=0" 

source - found in comp.sys.imb.pc.games.rpg