I don't know anything about the scripts you're using, and I'm not sure what you're asking but I guess one of these:
1. You can find the bit of code that runs when you talk to Kurt after a day, move it to after you have given him an apricorn, and delete the "a day has passed" check to make him give balls instantly.
2. You can change the variable that says which apricorn you've given Kurt from storing a single apricorn into storing a list. Then the code that makes Kurt give you balls needs to loop over that list and give you the appropriate balls then clear the list, and the code where you give Kurt an apricorn should add the apricorn to the list rather than set it.
This is slightly buggy, if you give Kurt a second apricorn at hour 23 then after 1 more hour he will have 2 balls for you—you could fix this by storing the time you gave each apricorn in the list, and only giving balls/deleting from the list if 24h has passed for that particular item.