Results 1 to 3 of 3

Thread: Assignment expected in script

  1. #1
    Join Date
    May 2007
    Location
    England
    Posts
    4,140
    Mentioned
    11 Post(s)
    Quoted
    266 Post(s)

    Default Assignment expected in script

    I get the error

    Code:
    Assignment expected in script
    from this line

    SCAR Code:
    TypeMsg1: = TypeMsg1+1;

    I've declared TypeMsg1 as a variable, and now I don't know what to do.

    Any help is appreciated.

    Thanks,
    R1ch4

    EDIT: Sorry about double post. Didn't notice. My PC went laggy, and obviously felt like making two threads.
    <3

    Quote Originally Posted by Eminem
    I don't care if you're black, white, straight, bisexual, gay, lesbian, short, tall, fat, skinny, rich or poor. If you're nice to me, I'll be nice to you. Simple as that.

  2. #2
    Join Date
    Jan 2008
    Location
    Frankfurt, Germany
    Posts
    742
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    The spacing matters, it will work if you put it this way:
    SCAR Code:
    TypeMsg1 := TypeMsg1+1;
    There is nothing right in my left brain and there is nothing left in my right brain.

  3. #3
    Join Date
    May 2007
    Location
    England
    Posts
    4,140
    Mentioned
    11 Post(s)
    Quoted
    266 Post(s)

    Default

    Already sorted it out, but thanks for taking your time anyway.

    Also, as you probably guessed from
    Code:
    TypeMsg
    I'm working on that AutoTalker that you told me to improve.
    <3

    Quote Originally Posted by Eminem
    I don't care if you're black, white, straight, bisexual, gay, lesbian, short, tall, fat, skinny, rich or poor. If you're nice to me, I'll be nice to you. Simple as that.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Assignment expected in script
    By Rich in forum OSR Help
    Replies: 5
    Last Post: 07-26-2008, 07:05 PM
  2. Assignment expected in script
    By [S]paz in forum OSR Help
    Replies: 2
    Last Post: 01-06-2008, 12:51 PM
  3. Replies: 4
    Last Post: 11-16-2007, 03:13 PM
  4. Assignment expected in script [Error]
    By marneus901 in forum OSR Help
    Replies: 2
    Last Post: 03-25-2007, 05:09 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
  •