Announcement

Collapse

IMPORTANT TWR ANNOUNCEMENT

**~~ANNOUNCEMENT!~~** All The Writers' Room members please check the TWR forums for an important new thread! Your feedback is wanted for this exciting announcement & thanks for being part of the team! - JB
See more
See less

Unexpected Dialogue - If Statement / Choice

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Unexpected Dialogue - If Statement / Choice

    This is very similar to another post I have made, but, even after the gracious help of TheOlims , my story still has an error, apparently. It says: ERROR Unexpected DIALOGUE: ...sophisticated. Here is the script (the red words are where the supposed error is):
    COOPER (flirt_shy)
    Wow...
    You look so...
    if (nakedathouse is "Cozy") {
    COOPER (flirt_shy)
    ...cozy.
    } elif (nakeddathouse is "Sporty") {
    COOPER (flirt_shy)
    ...athletic.
    } elif (nakedathouse is "Professional" {
    COOPER (flirt_shy)
    ...sophisitcated.

    } elif (nakedathouse is "Romantic") {
    COOPER (flirt_shy)
    ...hot.
    } elif (nakedathouse is "Trendy") {
    COOPER (flirt_shy)
    ...cute.
    } else {
    COOPER (flirt_shy)
    ...sexy.
    }

  • #2
    Did you remember to press Tab before the dialogue? (Sorry if this is a stupid question, I just want to make sure).

    Comment


    • zeaturtle3
      zeaturtle3 commented
      Editing a comment
      Yes, the text box wouldn't allow it though :x

    • Angel101
      Angel101 commented
      Editing a comment
      zeaturtle3 Could you post a screen shot so I can get a better idea of what's happening?

    • zeaturtle3
      zeaturtle3 commented
      Editing a comment
      Sure! I posted a screenshot below.

  • #3

    Comment


    • #4
      I am so sorry, but I don't know what's wrong!

      Comment


      • zeaturtle3
        zeaturtle3 commented
        Editing a comment
        Me neither! Thank you for your help anyways, I really appreciate it! It won't let me publish it until it gets fixed and I have no idea what is wrong!

    • #5
      if (nakedathouse is "Cozy") {
      COOPER (flirt_shy)
      ...cozy.
      } elif (nakeddathouse is "Sporty") {
      COOPER (flirt_shy)
      ...athletic.
      } elif (nakedathouse is "Professional" { <----- there is no ) to close it off after "Professional"
      COOPER (flirt_shy)
      ...sophisitcated.

      } elif (nakedathouse is "Romantic") {
      COOPER (flirt_shy)
      ...hot.
      } elif (nakedathouse is "Trendy") {
      COOPER (flirt_shy)
      ...cute.
      } else {
      COOPER (flirt_shy)
      ...sexy.
      }

      Comment


    • #6
      Make sure to add the ) after Professional!

      Comment

    Working...
    X