Results 1 to 5 of 5

Thread: Line 103: [Error] (14504:25): comma (',') expected in script

  1. #1
    Join Date
    Feb 2007
    Posts
    169
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Line 103: [Error] (14504:25): comma (',') expected in script

    why does it say
    SCAR Code:
    Line 103: [Error] (14504:25): comma (',') expected in script
    with this code
    SCAR Code:
    4: begin
             GameTab(1);
             wait(1000 + random(3000);
             GameTab(4);   //line 103
       end;

  2. #2
    Join Date
    Jun 2006
    Posts
    193
    Mentioned
    1 Post(s)
    Quoted
    43 Post(s)

    Default

    Quote Originally Posted by stuckman View Post
    why does it say

    ScarScript:By Drunkenoldma
    4: begin GameTab(1); wait(1000 + random(3000); GameTab(4); //line 103 end;
    Code:
    wait(1000 + random(3000));
    although thats lots of waiting h):
    i could do better timings maybe dunno what script but if u do that maybe something appears text box, u can base on that

  3. #3
    Join Date
    Feb 2007
    Posts
    169
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    i know its a fair amount of waiting but that still doesn't explain why i get the error

  4. #4
    Join Date
    Feb 2006
    Location
    Tracy/Davis, California
    Posts
    12,631
    Mentioned
    135 Post(s)
    Quoted
    418 Post(s)

    Default

    Add closing parenthesis here:

    wait(1000 + random(3000);

    To make it
    wait(1000 + random(3000));

  5. #5
    Join Date
    Feb 2007
    Posts
    169
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    thanks
    i knew it would be something like that
    it always is but generally t takes someone else to spot it
    thanks again
    +rep

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 4
    Last Post: 11-02-2008, 12:39 PM
  2. Replies: 10
    Last Post: 06-01-2008, 02:15 PM
  3. [Error]: comma (',') expected in script
    By AbsTrACt'^.| in forum OSR Help
    Replies: 20
    Last Post: 05-22-2008, 12:27 AM
  4. Line 1: [Error] Variable Expected in script
    By Fearlesssss in forum OSR Help
    Replies: 7
    Last Post: 05-26-2007, 10:12 PM
  5. Replies: 9
    Last Post: 04-16-2007, 08:46 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
  •