What i want is something like this scripts.
add new item
501,Red_Potion,Red Potion,0,50,,70,,,,,0xFFFFFFFF,7,2,,,,,,{ callfunc "CustomBox"; },{},{}
function script CustomBox {
setarray .BoxItems[0],501,502,503;
set .Random, getarraysize( .BoxItems );
getitem .BoxItems[ rand( .Random ) ], 1;
end;
}
But with some mod, the item is enhance randomly to.