Results 1 to 9 of 9

Thread: Syntax Error?

  1. #1
    Join Date
    Feb 2008
    Posts
    30
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Syntax Error?

    I am new to writng scripts, and i have a couple of scripts that ive been writing and ive been geting alot of errors. one of them being the "Syntax Error" i would liek to know what this means. i would also liek to know what the following ones means also.Also is there a simple way to correct these Errors?

    1. Syntax Error
    2. Unknown identifier
    3. Close round expected
    4. Variable 'OLDMS' never used in script [Error] (12534:1)
    5. Unknown identifier 'NickNameBMP' [Error] (12534:1)
    6. Unknown identifier 'FindMime' [Error] (12835:8)
    This is the part of the script that has the error from above.
    3: If FindMime then
    Result := True;
    7. i also am having a problem with alot of scripts, i get an error saying semicolon expected in script. i put the semicolon in where it has the error in the script then i get unexpected end.. what do i need to do to fix this?

    if some one would help me with these definitions of these errors and how to correct them i would greaty appreciate

  2. #2
    Join Date
    Aug 2007
    Posts
    429
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    I made a form a while back to help people with errors.

    Hope it helps a bit

    http://www.villavu.com/forum/showthread.php?t=17257

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

    Default

    This tutorial should cover most of the errors you posted. If any are unanswered just reply.
    Temporarily inactive.

  4. #4
    Join Date
    Apr 2007
    Location
    Michigan -.-
    Posts
    1,357
    Mentioned
    2 Post(s)
    Quoted
    4 Post(s)

    Default

    some of the semi colon errors are one line above or below the error line that it debugs. Check those lines as well
    METAL HEAD FOR LIFE!!!

  5. #5
    Join Date
    Feb 2008
    Posts
    30
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Derek- View Post
    I made a form a while back to help people with errors.

    Hope it helps a bit

    http://www.villavu.com/forum/showthread.php?t=17257
    well i tried to go to the link you posted but am denied access. i dont think ive been a member of the forums long enough. Thanks tho. i am currently reading some more tut's so i should figure someof these out soon.

    syntax error means something is not put in the script right? like im missing a end or something like that?

  6. #6
    Join Date
    Aug 2007
    Posts
    429
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    Quote Originally Posted by shadowrec0n View Post
    well i tried to go to the link you posted but am denied access. i dont think ive been a member of the forums long enough. Thanks tho. i am currently reading some more tut's so i should figure someof these out soon.

    syntax error means something is not put in the script right? like im missing a end or something like that?
    Yes it means something is not entered right.
    But not that you are missing an end. That'd be an 'identifier expected' error.

    An example of a syntax error would be like not using something correctly in SCAR.. Or something of the sort.. EX.
    SCAR Code:
    begin
      WriteLn("34");
    end.
    As quotes are not used in SCAR..

  7. #7
    Join Date
    Feb 2008
    Posts
    30
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    ok this make sense. Thanks.

  8. #8
    Join Date
    Jun 2007
    Location
    Wednesday
    Posts
    2,446
    Mentioned
    3 Post(s)
    Quoted
    1 Post(s)

    Default

    Just a tip - if the script has FindMime in it, then it is very outdated and shouldn't even been fixed then used as it will probably get you banned very quickly
    To get access to better scripts, post 10 posts and wait until you have been a member for a week and you will gain access to better scripts that are also more up-to-date.
    By reading this signature you agree that mixster is superior to you in each and every way except the bad ways but including the really bad ways.

  9. #9
    Join Date
    Feb 2008
    Posts
    30
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    ook thanks.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Line 135: [Error] (14845:1): Syntax error in script
    By AbsTrACt'^.| in forum OSR Help
    Replies: 16
    Last Post: 05-23-2008, 01:14 PM
  2. Syntax error(need help.)
    By weequ in forum OSR Help
    Replies: 9
    Last Post: 04-04-2008, 04:54 AM
  3. Replies: 5
    Last Post: 02-26-2008, 04:14 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
  •