Custom Scripting

Oct 23, 2020
Custom Scripting
  • What's this software exactly?
    Its a software which allows anyone to create/use custom scripts for free. You can import your created scripts and it will automatically be available for everyone to use. It will also show everyone who created the script.

    To keep things organized, I've added some popular games to the list. You can still make script for other games and import it, I'll then add the new game to the list.

    The software comes with a script viewer, which will show coloured syntaxs to make it easily read-able.
    You can use # on the start of each line, in order to give a description to what your script is used for.


    Media Examples:
    [​IMG]
    [​IMG]
    [​IMG]

    [​IMG]
    [​IMG]
    [​IMG]

    Essentially we are checking if the following image is detected:
    [​IMG]

    On the screen:
    [​IMG]

    Then perform the tasks.


    Here is what the software supports for scripting:
    • Find Image

      [Find Image] Usage:
      This method uses your specified image and scans for it on your screen. You then have three actions you can perform once it detects it:

      1. move
      2. click
      3. press a key


      • Using the move action will move your mouse to the detected image location.
      • Using click action will do a left click, after it moves to the detected image location.
      • Using press key will press the key you specified, if it detects the image on the screen. To not use a key just type "nothing"


      You can also define 4 additional parameters, which are essentially the area you want to scan. If you do not specifiy it, it will scan your entire full screen. The inputs are as such:

      START_X START_Y END_X END_Y

      Alternatively, if you just want to scan around the center of your screen (usually around your aim) Then you can use a simple parameter 'center'. Usage is as such:
      center SQUARE_SIZE

      Examples:
      >find image myimage.jpg nothing dont_move click center 20
      >find image myimage.jpg nothing move dont_click 500 500 800 300
      >find image myimage.jpg G move click

    • Find Color

      [Find Color] Usage:
      This method uses your definied color hex and scans for it on your screen. You can also set the threshold to find similar color to the one you defined.

      You then have three actions you can perform once it detects it:

      1. move
      2. click
      3. press a key


      • Using the move action will move your mouse to the detected color location.
      • Using click action will do a left click, after it moves to the detected color location.
      • Using press key will press the key you specified, if it detects the color on the screen. To not use a key just type "nothing"

      You can also define 4 additional parameters, which are essentially the area you want to scan. If you do not specifiy it, it will scan your entire full screen. The inputs are as such:

      START_X START_Y END_X END_Y

      Alternatively, if you just want to scan around the center of your screen (usually around your aim) Then you can use a simple parameter 'center'. Usage is as such:
      center SQUARE_SIZE

      Examples:
      >find color #492354 10 nothing dont_move click center 20
      >find color #492354 10 nothing move dont_click 500 500 800 300
      >find color #492354 0 G move click

      If you set the threshold to 0, it will try to match the exact color given from your hex code. For example Setting it to 10 will find a similarity between the colors by the color variation of 10 or below.

    • Required Function

      [Required Function]
      This function specifies that the script uses the specified data and that it should first be downloaded to the users computer, before running the script. Of course this whole process is automatic and does everything for you when you click "load".

      • .required_folder FOLDER/PATH
        • This function tells the software its going to use this folder, which was bundled in the .zip file
      • .required_files FILE_NAMES
        • This function tells the software its going to use all these files, which was bundled in the .zip file.
      • .download_required_data URL
        • This gives the software the address to download the file and extract it to the appropriate directories.

    • Loop Statement

      [Loop Statement]
      if loop enabled:

      This will loop what you got in the script. To activate/deactivate the loop, press F11.

    • Type method

      [Type method]
      You can now make the script type and send a sentence.

      >type hello everyone!

    • Moving the Mouse

      [Moving the Mouse] Usage:
      >move mouse LOCATION AMOUNT_HERE

      *Examples:
      >move mouse top 10
      >move mouse bottom 20
      >move mouse right 50
      >move mouse left 100

    • Mouse Clicks

      [Mouse Clicks] Usage:
      >mouse click left
      >mouse click right
      >mouse click middle

    • Press Keys

      [Press Keys] Usage:
      >press key KEY_NAME

      *Examples:
      >press key caps lock
      >press key G

    • Pause Script

      [Pause Script] Usage:
      >pause MINIMUM_AMOUNT-MAXIMUM_AMOUNT

      *Examples:
      >pause 10-20
      >pause 50-100

      The amounts are in milliseconds. So 1 second would be 1000.

    • Statements

      [Statements] Usage:
      The script currently supports the following statements:

      if scoped:
      if shooting:
      if scoped and shooting:
      if clicked mouse MOUSE_NUMBER:
      if pressed key KEY_NAME:
      if holding key KEY_NAME:
      if loop enabled:

      *Examples:
      if clicked mouse 4:
      >press key F

      if pressed key Tab:
      >mouse click right

      if holding key Space:
      >mouse click left

      [Q] What's scoped?
      [A] Scoped is a check to determine if the user is holding down the right click button.

      [Q] What's shooting?
      [A] Shooting is a check to determine if the user is holding down the left click button.

      [Q] How do I create and use a script?
      [A] Use notepad, add what all you want and save it as a .txt file. Click 'Add New Script' and select your script. Enter the name of the game your script is made for and click import.

    I'm still adding new features for this. If you got a suggestion, you can let me know.

    If you need help you can join the discord https://discord.gg/UXXbACJ
You, Djebbarafik and ALoha like this.