Results 1 to 2 of 2

Thread: Antiban.scar

  1. #1
    Join Date
    Nov 2008
    Location
    Melbourne, Australia
    Posts
    2,240
    Mentioned
    3 Post(s)
    Quoted
    11 Post(s)

    Default Antiban.scar

    Hey I will be adding a lot of stuff to the antiban.scar. I'll start with this simple thing I made last night.

    SCAR Code:
    {*******************************************************************************
    Function RandomMouse(Times: Integer): Boolean;
    By: cycrosism
    Description: Does some random mouse movements at random
    mouse speeds
    *******************************************************************************}


    Function RandomMouse(Times :Integer): Boolean;
    var
      M, T: Integer;
    begin
      M := MouseSpeed;
      MouseSpeed := RandomRange(11, 19);
      //Writeln('MouseSpeed = '+IntToStr(MouseSpeed));
        For T := 0 to Times+1 Do
        begin
          MouseBox(MSX1, MSY1, MIX2, MIY2, 3);
          T := T + 1;
          wait(1000+random(4000));
          Result := True;
        end;
        If (T = Times) then Result := True;
        //Writeln('Result = '+BoolToStr(result));
      MouseSpeed := M;
    end;

    I will be making more today
    Click here to find out how to get full screen without members! | Click here to check out my Ultimate Bitmap Tutorial! Edited to work with Simba! |

  2. #2
    Join Date
    Aug 2008
    Location
    Finland
    Posts
    2,851
    Mentioned
    3 Post(s)
    Quoted
    2 Post(s)

    Default

    Why does it return boolean? This could be a procedure as well

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
  •