Author Topic: Fire Event at Specific Time  (Read 1715 times)

T-Bone

  • Full Member
  • ***
  • Posts: 170
    • View Profile
Fire Event at Specific Time
« on: September 05, 2013, 07:44:18 AM »
I saw a post relating to this but cannot for the life of me find it now. I need to fire an event at 9 P.M. reminding the players in the "poker loft" to quiet down so the true tournament director (my wife) can watch TV in the great room below. How do I make this happen?
If it ain't naked, deep-fried or poker-related, I ain't interested!

Stuart Murray

  • Sr. Member
  • ****
  • Posts: 497
    • View Profile
Re: Fire Event at Specific Time
« Reply #1 on: September 05, 2013, 09:14:17 AM »
timeOfDay = 210000

format is hhmmss

Regards
Stuart Murray

Corey Cooper

  • Administrator
  • Hero Member
  • *****
  • Posts: 5429
    • View Profile
Re: Fire Event at Specific Time
« Reply #2 on: September 05, 2013, 10:39:36 AM »
And the trigger is "The clock ticks".

T-Bone

  • Full Member
  • ***
  • Posts: 170
    • View Profile
Re: Fire Event at Specific Time
« Reply #3 on: September 05, 2013, 01:19:34 PM »
Clock hits the appointed time and...nothing. I'll fool around with event list position, etc. and see if I can get it to work. Thanks for the help, guys.
If it ain't naked, deep-fried or poker-related, I ain't interested!

Corey Cooper

  • Administrator
  • Hero Member
  • *****
  • Posts: 5429
    • View Profile
Re: Fire Event at Specific Time
« Reply #4 on: September 05, 2013, 05:14:28 PM »
Tournament must be running (or in countdown).

T-Bone

  • Full Member
  • ***
  • Posts: 170
    • View Profile
Re: Fire Event at Specific Time
« Reply #5 on: September 06, 2013, 04:58:05 AM »
I'm confused (no news flash there). Yes, the tournament is running. I need event to fire at 9 p.m. during the game. I sense from Corey's response this can't be done during an active tournament. Right?
If it ain't naked, deep-fried or poker-related, I ain't interested!

Corey Cooper

  • Administrator
  • Hero Member
  • *****
  • Posts: 5429
    • View Profile
Re: Fire Event at Specific Time
« Reply #6 on: September 06, 2013, 08:21:30 AM »
No, I'm saying that an event won't fire when a tournament is NOT running.  If you've got the event configured but you haven't yet started the tournament and 9pm rolls around, nothing will happen.  If the tournament IS running or is in a countdown when 9pm rolls around, the event will fire.

T-Bone

  • Full Member
  • ***
  • Posts: 170
    • View Profile
Re: Fire Event at Specific Time
« Reply #7 on: September 06, 2013, 08:59:29 AM »
Well, duh, now I understand your previous post. Tournament was running so I'll tinker some more. Thanks again.
If it ain't naked, deep-fried or poker-related, I ain't interested!

Stuart Murray

  • Sr. Member
  • ****
  • Posts: 497
    • View Profile
Re: Fire Event at Specific Time
« Reply #8 on: September 09, 2013, 07:32:22 AM »
Create a new event

Trigger: The Clock Ticks
Conditions: (state = 2) and (TimeOfDay = 210000)
Actions: Play Sound etc etc

state = 2 (Tournament Running)
TimeOfDay = 210000 (HHMMSS)

I just realised my original reply had timeOfDay, not TimeOfDay (The capitalization is important)

Regards
Stu
Stuart Murray

T-Bone

  • Full Member
  • ***
  • Posts: 170
    • View Profile
Re: Fire Event at Specific Time
« Reply #9 on: September 09, 2013, 08:06:07 AM »
Thanks, Stu, I'll give it a shot.
If it ain't naked, deep-fried or poker-related, I ain't interested!

Corey Cooper

  • Administrator
  • Hero Member
  • *****
  • Posts: 5429
    • View Profile
Re: Fire Event at Specific Time
« Reply #10 on: September 09, 2013, 10:24:08 AM »
Sorry to contradict you, Stuart, but capitalization is definitely NOT important.  Formulas and conditions (and layout tokens) are case-INsensitive, so UPPER or lower or MiXeD cases all mean the same thing (internally, the whole thing is converted to lowercase during processing).

Also, your example is correct, but I want to point out that including state = 2 will actually make the event more restrictive.  That might be what you want in the end, but I wanted to make clear that this makes it so the event will fire only during the tournament, not before the tournament or during a countdown or after the tournament is over.  Again, that may be what you want.  It's just that when I'm trying to figure out why an event isn't firing when I think it should, I usually make things less restrictive until I get it to fire, and then start adding the restrictions in until it no longer fires when I think it should, in order to figure out what I've got misconfigured.