Adblock breaks this site

Help making script!

Discussion in 'Scar/Simba Help' started by Alligaattor, Jan 17, 2008.

  1. Alligaattor

    Alligaattor Member

    Joined:
    Mar 22, 2007
    Posts:
    30
    Referrals:
    0
    Sythe Gold:
    0
    Help making script!

    program New;

    procedure Click;
    begin
    if (IsFKeyDown(6))then
    begin
    MoveMouse(133,611);
    Wait(100);
    ClickMouse(133,611,true);
    end;
    end.

    .:: This script moves mouse and clicks mouse when i push F6 key down,
    .:: but is there somekind of way to change it so that i can push A,B,C,D...
    .:: keys instead of F6?

    Didn't made for RS!
     
  2. ekamjit

    ekamjit Active Member
    Banned

    Joined:
    Jan 17, 2008
    Posts:
    106
    Referrals:
    0
    Sythe Gold:
    0
    Help making script!

    no unless u want to write like 10 more lines
     
  3. Town

    Town Grand Master
    Scar Programmers

    Joined:
    Jan 21, 2007
    Posts:
    3,776
    Referrals:
    3
    Sythe Gold:
    5
  4. Alligaattor

    Alligaattor Member

    Joined:
    Mar 22, 2007
    Posts:
    30
    Referrals:
    0
    Sythe Gold:
    0
    Help making script!

    thx, my next problem is anti-randoms... can i just put them like this:

    program new;
    {.include SRL\SRL.scar}
    {.include SRL\SRL\core\AntiRandoms\AntiRandoms.scar}

    begin
    end.

    or do i have to write them??
     
  5. Town

    Town Grand Master
    Scar Programmers

    Joined:
    Jan 21, 2007
    Posts:
    3,776
    Referrals:
    3
    Sythe Gold:
    5
    Help making script!

    The antirandom procedures will be included in your script when you call {.include SRL\SRL.scar}. You have to use the procedures.
     
< Help What Am i Doing Wrong | Scar doesn't work anymore >


 
 
Adblock breaks this site