Look at the Item Table in your GameDefs table
or in query
Code:
USE PS_GameDefs
SELECT * FROM Items
If you wanna search by level
add this into the query, changing the number to the level you're looking for.
There is also a full item list written by Ariez in these forums somewhere. Just search Ariez item list. Or look in the dev section
The codes are type + type ID
so long sword would be
/getitem 1 1 (Type 1, TypeID 1)
if you want 2 of that item
/getitem 1 1 2 (Type 1, TypeID 1, Ammount 2)