Messed up my if tags

Discussion in 'CHYOA General' started by MidbossMan, Mar 22, 2020.

  1. MidbossMan

    MidbossMan Really Really Experienced

    Hey guys, I think I messed up the if tags in my story somehow. It seemed like they were working fine for a while, until I added a chapter to try to make it so that players can turn gameplay tips on. This tag format doesn't become hidden in any chapter, the {} formatting itself is displayed, and furthermore, if I use it in a chapter that has other if tags, it makes those ones stop working...

    An example of the if tags I'm using for tips:

    {if Tips = 1}((TIPS: The tip is written here.)){ifend}

    I defined the Tips variable in an earlier chapter. I tried using true instead of 1, or deleting the (()) brackets inside, but neither has been effective. Anyone have any ideas?

    ---------------------

    Nevermind! I'm dumb, I was using {ifend} instead of {endif}. Cautionary tale to everybody!
     
    Last edited: Mar 22, 2020
    gene.sis and insertnamehere like this.