Results 1 to 4 of 4

Thread: New here, need a little help! :)

  1. #1
    Join Date
    Jul 2012
    Posts
    22
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default New here, need a little help! :)

    I've been watching YoHoJo's tutorials and read the newbie help thread and have started to attempt some scripting of my own, what I'm trying to do is to make a script that will click at a set position every minute or so to restore my hp and prayer, and also be able to right click - attack revenant dragons. I'm currently getting a compiling error (The script is far from done, just trying to understand why I'm getting an error before moving on. Also, how do I figure out how to set up simba for use with an rsps? I have only been able to find setups for RS3 and OSRS. Appreciate any help! Thank you!

    Code:
    program AutoRevs;
    
    procedure HealPray;
    Begin
      MoveMouse(733, 180);
      ClickMouse(733, 180);
    End;
    
    procedure AttackRevs;
    var
      x, y:integer;
    Begin
      if FindColorSpiralTolerance(x,y, 8353141, 117, 117, 127, 20) or
         FindColorSpiralTolerance(x,y, 11122620, 188, 183, 169, 20)or
         FindColorSpiralTolerance(x,y, 5127485, 61, 61, 78, 20) or
         FindColorSpiralTolerance(x,y, 6183000, 88, 88, 94, 20) Then
      begin
        MoveMouse (x,y:integer);
        ClickMouse (x,y:integer, 2);
        If FindColorSpiralTolerance (x, y,
    
    
    Begin
      HealPray;
      AttackRevs;
    end.

  2. #2
    Join Date
    Oct 2012
    Posts
    1,258
    Mentioned
    40 Post(s)
    Quoted
    588 Post(s)

    Default

    every begin needs an end

  3. #3
    Join Date
    Jul 2012
    Posts
    22
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Okay, fixed that now but I am getting a closing parenthesis error here: MoveMouse (x, y:integer); I have both opening and closing parenthesis, why isnt it working?

  4. #4
    Join Date
    Oct 2012
    Posts
    1,258
    Mentioned
    40 Post(s)
    Quoted
    588 Post(s)

Thread Information

Users Browsing this Thread

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

Posting Permissions

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