Re: GM Script: chatglove - a floating game chat - version 1.
Posted: Tue Jul 17, 2012 5:17 pm
sherkaner wrote:CG actually loads the page (with you as a user), and checks whether the id of the last chat equals the one it remembers as the last chat you've seen. So it shouldn't notice opponent's chat.
OK, so how long should it take to record that I've "seen" the chat when I am looking at the game? Seems like this should take a millisecond.
I wait until my browser tells me that it has loaded the page and then a second or two longer. That is, most (all?) browsers have an icon that they display while a page is loading. There is also a "stop loading" button that will be available during this period. I wait until the loading icon goes away and the stop loading icon turns into a refresh icon. I would think that the script would have completed whatever it needs to do by then or shortly after.