Menu

#74 New Twitter trigger - Lead Changed

release_0.4
open
nobody
twitter (1)
5
2013-07-20
2012-10-31
Rob Thomas
No

It would be handy to have a Twitter trigger that can ping when the lead changes.
It would probably need a delay - possibly trigger 10 seconds after the points had been added? Or at the start of a jam?

Note: I'm NOT A JAVA PROGRAMMER. Feel free to ignore this.

If you had a variable that held the leader, and was checked every time a jam started, (as the scores should have stabilized by then) you could then set a twitter trigger, something like %leadchanged=true? Then update the lead variable so it won't trigger next time. This DOES mean it'll ping on the first jam of the bout, but is that such a terrible thing?

You could then have a tweet like 'Lead changed - %tn1: %ts1, %tn2: %ts2' - in a close game this could be pinging every couple of jams, but, again, is this so bad?

Discussion

  • Forrest Pruitt

    Forrest Pruitt - 2013-07-20

    Alternatively, this could use a threshhold- only report the lead changing if the point difference prior to the change was greater than a threshold, (say, 10), and it's not the first lead of the game.
    I can implement this.

     
    • Anonymous

      Anonymous - 2018-04-10
      Post awaiting moderation.

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB