Results 1 to 4 of 4

Thread: Close Round Expected?

  1. #1
    Join Date
    Nov 2007
    Location
    Nowhereville
    Posts
    1,155
    Mentioned
    0 Post(s)
    Quoted
    3 Post(s)

    Default Close Round Expected?

    Here it is...

    SCAR Code:
    if Players[0].Name := '' then

    The debug line is here...

    Code:
    Line 122: [Error] (12510:21): Close round expected in script C:\Program Files\SCAR 3.14\Scripts\*****.scar

    Thanks,
    Cut em2 it

    Btw, it's kind of a secret what I'm making. Mountain Lions Own? knows though...

    Cut em2 it
    Formerly known as Cut em2 it

  2. #2
    Join Date
    Feb 2007
    Location
    EST (US East Coast)
    Posts
    250
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Seeing as it's secret and I can't tell you to post the script, look at the lines above and below it to make sure you didn't forget a parentheses on either of those lines.

    Btw you can't do "if Players[0].Name := '' then", it has to be "=" instead of ":=".
    Temporarily inactive.

  3. #3
    Join Date
    Jun 2007
    Location
    La Mirada, CA
    Posts
    2,484
    Mentioned
    1 Post(s)
    Quoted
    3 Post(s)

    Default

    ducels is correct, ':= ' sets/equals something while ' = ' compares something to something (which you are doing) if player = this then this...

    "Failure is the opportunity to begin again more intelligently" (Henry Ford)


  4. #4
    Join Date
    Nov 2007
    Location
    Nowhereville
    Posts
    1,155
    Mentioned
    0 Post(s)
    Quoted
    3 Post(s)

    Default

    Oh whoops! Thanks, my mistake...

    Cut em2 it
    Formerly known as Cut em2 it

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Close Round Expected Error
    By xminimanx in forum OSR Help
    Replies: 19
    Last Post: 04-25-2008, 06:36 AM
  2. Close round expected in script
    By Lee Lok Hin in forum OSR Help
    Replies: 3
    Last Post: 03-05-2008, 10:44 AM
  3. Close round expected in script
    By Dunceiam in forum OSR Help
    Replies: 6
    Last Post: 05-04-2007, 08:37 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •