This command gives you the specified amount of experience.
The syntax for the addexp command is as follows:
This command has the following arguments:
|Amount||The amount of experience you wish to gain (e.g. 1000).|
Find below working examples of the addexp command.
The above console command would give you 10 experience.
This cheat would add 15,000 experience to your current amount of experience.