MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    1. Home
    2. frickinnuts
    F
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 4
    • Best 0
    • Controversial 0
    • Groups 0

    frickinnuts

    @frickinnuts

    0
    Reputation
    150
    Profile views
    4
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    frickinnuts Unfollow Follow

    Latest posts made by frickinnuts

    • RE: Newbie if else question

      Saddness 😞

      posted in Tutorials
      F
      frickinnuts
    • RE: Newbie if else question

      if (hour < 8 ) {
      module: ‘MMM-horoscope’,
      position: ‘top_right’,
      config: {
      sign: ‘tarus’,
      }
      } else {
      module: ‘MMM-horoscope’,
      position: ‘top_right’,
      config: {
      sign: ‘virgo’,
      }
      },

      posted in Tutorials
      F
      frickinnuts
    • Newbie if else question

      I’m trying to use a stolen github script to display MMM-horoscope which works well. I just want to change the sign at different times. Like between 24:00 and 08:00 I want to display 'taurus" and ‘virgo’ after 8. tried if else but always get an error. I sure the syntax isn’t correct. Any if else gurus out there? If there another way?

      {
      module: ‘MMM-horoscope’,
      position: ‘top_right’,
      config: {
      sign: ‘virgo’,
      }
      }

      posted in Tutorials
      F
      frickinnuts