Results 1 to 8 of 8

Thread: What am i doing wrong?

  1. #1
    Join Date
    Jun 2007
    Location
    Alaska
    Posts
    9
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default What am i doing wrong?

    procedure LvlUp;
    begin
    if(not(LoggedIn))then Exit;
    if (FindNpcChatText('continue')) then
    Begin
    FindEssence;
    End;
    If(LvlUp)then
    begin
    ClickToContinue;
    end;




    Line 1333: [Error] (17720:1): Identifier expected in script C:\Program Files\SCAR 3.06\Scripts\SRL Essence Miner 1[1].15.scar

  2. #2
    Join Date
    Feb 2007
    Location
    Het ademt zwaar en moedeloos vannacht.
    Posts
    7,211
    Mentioned
    26 Post(s)
    Quoted
    72 Post(s)

    Default

    you forgot an end at the end of your procedure.
    I made a new script, check it out!.

  3. #3
    Join Date
    Jun 2007
    Location
    Alaska
    Posts
    9
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Didnt work...

  4. #4
    Join Date
    Jan 2007
    Location
    Kansas
    Posts
    3,760
    Mentioned
    1 Post(s)
    Quoted
    3 Post(s)

    Default

    You are trying to do if(LvlUp) then but you don't have the procedure as a function, do this
    SCAR Code:
    function LvlUp: Boolean;


  5. #5
    Join Date
    Jun 2007
    Location
    Alaska
    Posts
    9
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Like This?? Sorry im very new.. im supriced ive gotten this much :P


    function LvlUp: Boolean;
    procedure lvlup;
    begin
    if(not(LoggedIn))then Exit;
    if (FindNpcChatText('continue')) then
    Begin
    FindEssence;
    End;
    If(LvlUp)then
    begin
    ClickToContinue;
    end;

    Line 1333: [Error] (17720:4): period ('.') expected in script C:\Program Files\SCAR 3.06\Scripts\SRL Essence Miner 1[1].15.scar

  6. #6
    Join Date
    Jun 2007
    Location
    Alaska
    Posts
    9
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Btw im inserting this at the bottom of SRL Ess Miner by Wizzup right before the: end.

  7. #7
    Join Date
    Jun 2007
    Location
    Alaska
    Posts
    9
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Still need help please.

  8. #8
    Join Date
    May 2006
    Posts
    1,230
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    learn to script first, second ClickToContinue; is all you need to click continue at the bottom, if its not there it won't do anything anyways,

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. what am i doing wrong
    By zman_santa in forum OSR Help
    Replies: 3
    Last Post: 04-01-2008, 03:42 PM
  2. what am i doing wrong ?:P
    By sjlou in forum OSR Help
    Replies: 2
    Last Post: 10-01-2007, 01:52 PM
  3. Replies: 8
    Last Post: 03-23-2007, 04:20 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
  •