Correct me if I wrong
rather than using 1 more function...
you can just basically add in getitem command at the item_db.txt
Anyway..just follow the guide i give in the second post...
change the Item Type to 11...
Example :
Original Red Potion ( 1 Time Usage )
501,Red_Potion,Red Potion,0,50,,70,,,,,0xFFFFFFFF,7,2,,,,,,{ itemheal rand(105,145),0; },{},{}
Edited Red Potion ( Unlimit Usage )
501,Red_Potion,Red Potion,11,50,,70,,,,,0xFFFFFFFF,7,2,,,,,,{ itemheal rand(105,145),0; },{},{}
Oh yeah never think of that xD
11 = usable item with unlimited usage ? o.o