
- Hello,
Since many people are looking for an key binder where you can store numerous commands under one key, i had decided to create this guide to help them out. - First of all, you need to download AutoHotkey software:
- Once downloaded, open the setup and install the software as usual.
- After the software has been downloaded, go to the software directory [The place where you had installed it] and click on the green H icon, you will notice the icon appear on your Quick task bar as shown below.
Spoiler
- Right click that icon and click "Edit Script" and a window similar to notepad appears.
- There exists lots of text in the notepad, just don't touch it, go to the end of the note pad.
- In an new line you start the scripting part:
- The Syntax for scripting is as follows:
Key:: SendInput Command{Key to be pressed}
- The Syntax for scripting is as follows:
- So, suppose in numpad 1 you want to store /gate command, it goes as follows:
Numpad1:: SendInput t/gate{Enter}
- So, if you want to store /gate /door /enter in Numpad , it goes as follows:
Numpad1:: SendInput t/gate{Enter}t/door{Enter}t/enter{Enter}So, now you have the basic idea about this.
- Suppose if you want to store /sellgun deagle, sawn off and /heal command in Function 11, it goes as follows:
f11:: SendInput t/sellgun Blade_Archer deagle{Enter}t/heal{Enter}t/sellgun Blade_Archer sawn{Enter}
- Suppose if you want to take 500 materials quickly from your houselocker, the script goes as follows:
f10:: SendInput t/houselocker unlock{Enter}t/houselocker take materials 500{Enter}t/houselocker lock{Enter}
- The below are my scripts, showing them so you guys can have an basic idea:
- John Reacher's Script (SAPD):
Spoiler
- Blade Archer's Script (Illegal Faction)
Spoiler
- This sample script has been copied from some other website, it includes all the number pad keys without numlock.
Spoiler
- Mouse Codes:
You can store commands in your mouse buttons aswell.Spoiler - Keyboard Codes:
Spoiler
Notes:
- Don't forget the t, as you know it is used to open the chatbox and also {Enter} is used to press enter once the command is typed.
- Don't forget that S and I in SendInput are caps and also there is a space between :: and SendInput and another space after SendInput.
Suppose if you have multiple commands under one key and you need some time for each command to be typed, you can use Sleep command.
Syntax:Sleep, (Milliseconds)So, here, first /me Attempts to frisk the person will be typed and two seconds later /do Would you by any chance resist me? will be typed.
- Example:
For that, use the Sleep command in the following manner:
- If you're going to frisk someone, first you'll type:
/me attempts to frisk the person
And after two seconds you want the following to be typed:
/do would you resist by any chance?
- Numpad5::
SendInput t/me attempts to frisk the person{Enter}
Sleep, 2000
SendInput t/do Would you by any chance resist me?{Enter}
return,
In the above example, Sleep 2000 means there will be 2 second delay.
If you want the delay to be 5 seconds, type Sleep 5000
Well, you get the idea now.
You can use Send instead of SendInput in new version 1.1
The difference will be:
If you use Send, the text will be typed manually with some delay.
If you use SendInput, the text will be typed instantly.