Results 1 to 4 of 4

Thread: Attack lesser demon

  1. #1
    Join Date
    Jul 2007
    Posts
    44
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Attack lesser demon

    Im pretty new to scar, and trying to make my first script.

    But i got a problem.

    See, i have:
    procedure attackLesser;
    begin
    if findcolortolerance(x, y, LesserColor1, 0, 0, 700, 500, 5) or
    findcolortolerance(x, y, LesserColor2, 0, 0, 700, 500, 5) then
    begin
    Mouse(x ,y, 0, 0, false)
    ChooseOption('Lesser demon')
    wait(3000+random(3000))
    end;
    end;

    He finds the lesser, but sometimes its left clicking on the lesser. I want him right click > attack. Sometimes it does, but when it does , its clicks examine lesser. How can i fix this?

    Btw, i tried, ChooseOption('Attack Lesser demon'), but it doesnt work.

    I appriciate help.

    Thanks

    (sorry for my bad english, im not english u know :P )

  2. #2
    Join Date
    Mar 2007
    Location
    Netherlands->Amersfoort.
    Posts
    1,615
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    SCAR Code:
    procedure attackLesser;
    begin
      if FindObjCustom(x, y, ['esser', 'emon'], [lessercolor1, lessercolor2], 5) then
      begin
        Mouse(x ,y, 0, 0, false)
        ChooseOption('ttack')
        wait(3000+random(3000))
      end;
    end;

    try this, it search for the lesserdemon color by using the up text. it will right click and chose option attack

    (iam not sure if it works. but have a little play with it )

  3. #3
    Join Date
    Jul 2007
    Posts
    44
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Thanks, its working now.

    I did:

    procedure attackLesser;
    begin
    if findcolortolerance(x, y, LesserColor1, 0, 0, 700, 500, 5) or
    findcolortolerance(x, y, LesserColor2, 0, 0, 700, 500, 5) then
    begin
    Mouse(x ,y, 0, 0, false)
    ChooseOption('ttack')
    wait(3000+random(3000))
    end;
    end;

  4. #4
    Join Date
    Apr 2007
    Location
    UK
    Posts
    2,295
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Use SCAR tags when posting scripts

    Rogeruk's Al-Kharid Tanner V1.1 [Released]
    Rogeruk's Barbarian Crafter [Coming Soon]
    Rogeruk's Guild Fisher [Coming Soon]
    !! - Taking Requests - !!

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Lesser Demon Fighter
    By Baked0420 in forum RS3 Outdated / Broken Scripts
    Replies: 11
    Last Post: 06-10-2008, 03:33 AM
  2. lets play the why am i not a lesser demon game
    By buck cakes in forum The Bashing Club / BBQ Pit
    Replies: 3
    Last Post: 11-05-2007, 01:58 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
  •