upgradeitem usage: UPGRADEITEM 3 2 1 what it does: upgrades item equiped on slot 3 with 1 in 3 chances of succes (basicaly it's 2+1 cause 0's an option aswel) and will add 1 point to one of the stats on the item (this can result into bugged items tho so dont use it

)
upgradeitemex usage: UPGRADEITEMEX 3 5 1 2 1 what it does: same as above but instead here it's position on your equipment(3), type of stat to add (these values are rather hard to explain but in this case it's 5), chance of succes: 1/2 (1+1), points to add: 2, last value is the type of upgrade: 0= just fail, 1 = deletes item if failed, sets the added stat to 0 if failed
play about with thm settings