ascend # - Go up to a level, # representing the level number.
Then, click on the question mark that appears and insert the codes listed below for the desired result. To bring up a cheat console (which is, in fact, an on-screen question mark), press CTRL, Shift, and Tilde (~) at the same time.
If you leave the elite or legendary off of the name, then it spawns a lesser version of that gear. Some of it, such as the Ancestral Footsteps, can be sold back for massive amounts of money if needed. Select the question mark and insert the gear names below to spawn that gear. Press CTRL, Shift and the tilde (~) key and a question mark will pop up. If you add another gem worth more than 100000 GP, it'll put the price over 10 million GP. Socket one Gems of Ages into the King's Fistcuffs and it will sell for almost 9 million GP.