Box,Box,2,10,,0,,,,,0xFFFFFFFF,63,0,,,,,,{ if (((Weight*100)/MaxWeight) > 70) { message strcharinfo(0), "You are overweight, you cannot open the box!"; getitem 40028,1; end;} getitem 11503,50; getitem 11504,50;},{},{}
try this one this is working, just change the maxweight 70 you want that allowed to open the box.