I need to make an event happen every so often. Say a user is playing a text based game, Randomly a window will pop up notifying them that they have recieved a phone call. I need this to happen perpetually. Any help would be greatly appreciated.
For serverside "every so often", I'd recommend something like this http://kevin.vanzonneveld.net/techblog/article/create_daemons_in_php/ For client side "every so often", window.setInterval(...)