what if want to change the system of calculation becomes "how long they are online., if it is recorded in the database for 1hr him online., it will get the prize"and apply multiples. eg 1hr got 605 items in increments of 1. then if they are online for 3 jam.maka will automatically receive 3item
This script will still run even if the character is not online time