Firetron’s TrueOnInterval

1 326 Views 1 Comment 7 months ago
  • Returns true every interval and false in between intervals.

    • This topic was modified 1 month, 2 weeks ago by Firetron. Reason: Removed tip addresses
    • This topic was modified 1 month, 2 weeks ago by Firetron.
    HaasScript Code
    Sign in or Register to view
    • #1155
      Firetron
      Basic
      Up
      1
      Down

      How to use this:

      if CC_TrueOnInterval(60) then
        Log('An hour has passed')
      else
        Log('An hour has not passed yet')
      end
      
Login or Register to Comment

Unlock your crypto trading potential

Create a free account and enjoy everything we have to offer.

Join for Free