change all the getitem / delitem part to this....
if( checkweight( 7037,.@num ) ){
getitem 7037,.@num;
delitem 607,.@num*500;
}else{
mes "You are Overweight";
}
*checkweight(<item id>,<amount>)
*checkweight("<item name>",<amount>)
This function will compute and return 1 if the total weight of a specified
number of specific items does not exceed the invoking character's carrying
capacity, and 0 otherwise. It is important to see if a player can carry the
items you expect to give them, failing to do that may open your script up to
abuse or create some very unfair errors.
This function, in addition to checking to see if the player is capable of
holding a set amount of items, also ensures the player has room in their
inventory for the item(s) they will be receiving.
Like 'getitem', this function will also accept an 'english name' from the
database as an argument.