You could.. use timers..

When a user joins, start the timers you listed. If the users do what you require, you can stop the timer(s).

-genius_at_work