Results 1 to 7 of 7

Thread: Identifier expected in script?

  1. #1
    Join Date
    Mar 2007
    Posts
    138
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Identifier expected in script?

    For all of my procedures under my WalkToStore procedure don't work now? plz help

    Code:
    procedure WalkToStore;
    begin
      setrun(true);
      wait(1000);
    {  if (FindSymbol(x, y, 'Quest')) then
        Mouse(x, y, 2, 1, True);
      wait(3000);
      Flag;}
      if (FindSymbol(x, y, 'Water')) then
        Mouse(x, y, 2, 1, True);
      wait(3000 + random(2));
      flag;
      if (FindSymbol(x, y, 'Store')) then
        Mouse(x, y, 2, 1, True);
      wait(3000 + random(2));
      flag;
      wait(6000 + random(2));
      GameTab(4);
      if (FindColor(x, y, 5931423, 0, 0, 600, 600)) then
        MMouse(x, y, 0, 0);
      wait(1000 + random(2));
      if (IsUpText('hop')) then
        Mouse(x, y, 0, 0, false);
      if (IsUpText('rade')) then
        wait(400 + random(100));
      ChooseOption(x, y, 'Trade');
      wait(1000 + random(2));
      begin
        logs := DTMFromString('78DA639CCFC4C0F098010544062A324802694' +
          '620FE0F048C33816AEE30A00146B81A306F2A116A1601D5DC24A0' +
          '661950CD1B026AA603D57CC4AF060001280E78');
        repeat
          wait(800 + random(200));
          if FindDTM(Log, x, y, 0, 0, 800, 600) then
          begin
    
            wait(400 + random(100));
            MMouse(x, y, 0, 0);
            Mouse(x, y, 4, 6, false);
            wait(500);
            if (ChooseOption(x, y, 'Sell 10')) then
          end;
        until (not (FindDTM(log, x, y, 0, 0, 700, 500)));
        wait(1000);
        if (FindSymbol(x, y, 'Water')) then
          Mouse(x, y, 2, 1, True);
        wait(3000 + random(2));
        flag;
        if (FindSymbol(x, y, 'Ranges')) then
          Mouse(x, y, 2, 1, True);
        wait(3000 + random(2));
        flag;
        wait(1000 + random(2));
        if (FindSymbol(x, y, 'quest')) then
          Mouse(x, y, 2, 1, True);
        wait(3000 + random(2));
        flag;
        Clicks := Clicks + 27;
        Loads := Loads + 1;
      end;
    now the procedures that say Indentifire expected in script

    Code:
    //////////////////////////////////////////////////////////////////////
    ///////////////////////////Log Player In/////////////////////////////
    ////////////////////////////////////////////////////////////////////
    
    procedure Login;
    begin
      loginplayer;
    end;
    
    //////////////////////////////////////////////////////////////////////
    ///////////////////////////Arrange Angle/////////////////////////////
    ////////////////////////////////////////////////////////////////////
    
    procedure Angle;
    begin
      HighestAngle;
      MakeCompass('N');
    end;
    
    //////////////////////////////////////////////////////////////////////
    ///////////////////////////Log Player Out////////////////////////////
    ////////////////////////////////////////////////////////////////////
    
    procedure LogsOut;
    begin
      if (LoggedIn) and (Loads >= Players[CurrentPlayer].Integer1) then
      begin
        Logout;
      end;
    end;
    
    //////////////////////////////////////////////////////////////////////
    ///////////////////////////Random Report/////////////////////////////
    ////////////////////////////////////////////////////////////////////
    
    procedure Report;
    begin
      SRLRandomsReport;
    end;

  2. #2
    Join Date
    Dec 2006
    Location
    Australia
    Posts
    698
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    Post your complete script i cant diagnose the problem.

  3. #3
    Join Date
    Jan 2007
    Location
    Not here
    Posts
    1,604
    Mentioned
    2 Post(s)
    Quoted
    19 Post(s)

    Default

    u need another end; at the end of top script
    Sleeping...

  4. #4
    Join Date
    Apr 2007
    Posts
    220
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    If you post your whole script I'll find it out but with just some procedures and no variables and stuff I can't help you.. Sorry post your whole script then I can help ya

  5. #5
    Join Date
    Mar 2007
    Posts
    138
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    nvm thanks to rkroxpunk i got it fixed! thanks i am now releasing my willow sell at store script! It now works 100% no bugs! check it out in first script! Rimmington Willow Chopper V2.0

  6. #6
    Join Date
    Jan 2007
    Location
    Not here
    Posts
    1,604
    Mentioned
    2 Post(s)
    Quoted
    19 Post(s)

    Default

    np glad to help....word of warning. ~alex~ is about to release the exact same script assuming urs sells to shop otherwise if u've got it banking or something that's really amazing! lol
    Sleeping...

  7. #7
    Join Date
    Mar 2007
    Posts
    138
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    no im getting it to sell but i've already got other versions out there for dropping but if you want ill make a banker, just ask or PM thanks

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Identifier expected in script...But Why?
    By Macrosoft in forum OSR Help
    Replies: 10
    Last Post: 01-27-2012, 06:33 AM
  2. Bah!! Identifier Expected in Script.
    By siroober in forum OSR Help
    Replies: 3
    Last Post: 05-03-2008, 11:46 PM
  3. Identifier expected in script
    By StrikerX in forum OSR Help
    Replies: 2
    Last Post: 04-11-2008, 12:21 PM
  4. Identifier expected in script
    By Becks in forum OSR Help
    Replies: 6
    Last Post: 04-11-2008, 06:41 AM
  5. Identifier expected in script
    By wasapiguy2 in forum OSR Help
    Replies: 2
    Last Post: 03-25-2008, 09:57 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •