Results 1 to 5 of 5

Thread: Level Up Problem

  1. #1
    Join Date
    Aug 2007
    Location
    Vancouver
    Posts
    394
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default Level Up Problem

    In the script i made im using

    SCAR Code:
    procedure LevelUp;
     begin
      if (FindNpcChatText(' continue ')) then
     begin
      CutLog;
      Wait(100 + Random(678));
      Case lowercase(Players[CurrentPlayer].Strings[0]) of
      'shortbow' : clickshortbow;
      'longbow'  : clicklongbow;
      end;
     end;
    end;

    But when i put it in the repeat i get this error

    Line 350: [Error] (12581:1): Unknown identifier 'LevelUp' in script C:\Program Files\SCAR 3.11\Scripts\Dgt3.0.scar

  2. #2
    Join Date
    Jun 2007
    Posts
    246
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    im guessing that you called levelup before you made the procedure. put ti on top of it

  3. #3
    Join Date
    Aug 2007
    Location
    Vancouver
    Posts
    394
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    If i put the procedure at the top it doesnt no what the other procedures are...so its really impossible to do it...

  4. #4
    Join Date
    Sep 2006
    Location
    New Jersey, USA
    Posts
    5,347
    Mentioned
    1 Post(s)
    Quoted
    3 Post(s)

    Default

    At the top of the script, put this:

    SCAR Code:
    procedure LevelUp; forward;
    Interested in C# and Electrical Engineering? This might interest you.

  5. #5
    Join Date
    Aug 2007
    Location
    Vancouver
    Posts
    394
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    SmartzKid......you PWN!

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Cast('High Level Alchemy') Problem
    By Xtensity in forum SRL Site Discussion
    Replies: 10
    Last Post: 09-04-2008, 06:02 AM
  2. JADDummy! will level you from any level to 8 :p
    By JAD in forum RS3 Outdated / Broken Scripts
    Replies: 23
    Last Post: 01-28-2008, 02:51 AM
  3. omg level 3s
    By Lord michie in forum RuneScape News and General
    Replies: 18
    Last Post: 12-15-2007, 10:05 PM
  4. Between level!
    By inSaner in forum OSR Help
    Replies: 4
    Last Post: 05-06-2007, 07:39 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
  •