1 good morning per person per day
Code:
q1:RefreshQ
trgTime:
reset() // greet.empty()
trgEveryXMinutes:
if q1 contains(person) and !greeted.contain(person):
greeted.add(person)
greet()
q1.add(person)