I have made a few changes, find my revisions here: [paste=27uxm2jof4qp] Changes:
1) The use of the file extension ".gat" is not needed in the map name for rAthena and was removed. 2) $@npcname_mpq$ is a temporary global variable. You only need to use a temporary scope variable (prefix .@) 3) The use of menu is not incorrect, but I updated to use select, you can view here: Select
4) Removed .@amount == 100 from the logic statement below. This way players will be able to offer any number of berries they may have. (specifically allows for a donation of exactly 100 berries):
if ( .@amount == 100 || countitem(607) < .@amount )
5) Updated
delitem 607 ,100;
to remove the actual number of berries, not always 100. It will remove the integer division of the amount by 100 (e.g. 350 / 100 = 3). The player will retain the remainder of that division (i.e. 50).
I don't have a test server but my revisions should work correctly. Let me know if it doesn't!