Notes
Notes - notes.io |
--- Standard
----------------------------------------------------------------------------------------------------------------
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn ; Enable warnings to assist with detecting common errors.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
#NoEnv
SendMode, Input
SetBatchLines -1
CoordMode, Mouse, Screen
mouseXY(x, y)
{
DllCall("mouse_event",uint,1,int,x,int,y,uint,0,int,0)
}
strafe(left)
{
moveCount := 25
sleepInterval := 2
relativeMove := 28
if (left)
{
key := "d"
move := relativeMove
} else
{
key := "a"
move := -relativeMove
}
send {%key% down}
DllCall("Sleep", "UInt", 5)
Loop, %moveCount%
{
mouseXY(move, -(move/4))
DllCall("Sleep", "UInt", sleepInterval)
}
send {%key% up}
}
$xbutton1::
while getkeystate("xbutton1","P")
{
strafe(true)
strafe(false)
}
return
----------------------------------------------------------------------------------------------------------------
--- SideWays:
----------------------------------------------------------------------------------------------------------------
#NoEnv ; Cyka
; #Warn ; Blyat
SendMode Input ; Idi
SetWorkingDir %A_ScriptDir% ; Nahui
#NoEnv
SendMode, Input
SetBatchLines -1
CoordMode, Mouse, Screen
mouseXY(x, y){
DllCall("mouse_event",uint,1,int,x,int,y,uint,0,int,0)
}
strafe(left){
moveCount := 35
sleepInterval := 2
relativeMove := 15
if(left){
key := "w"
move := -relativeMove
} else {
key := "s"
move := relativeMove
}
Send, {Blind}{%key% down}
DllCall("Sleep", "UInt", 5)
Loop, %moveCount% {
mouseXY(move, 0)
DllCall("Sleep", "UInt", sleepInterval)
}
Send, {Blind}{%key% up}
}
*XButton1::
while getkeystate("XButton1","P") {
strafe(false)
strafe(true)
}
return
---------------------------------------------------------------------------------------------------------------------
--- BackWards
---------------------------------------------------------------------------------------------------------------------
#NoEnv ; Cyka
; #Warn ; Blyat
SendMode Input ; Idi
SetWorkingDir %A_ScriptDir% ; Nahui
#NoEnv
SendMode, Input
SetBatchLines -1
CoordMode, Mouse, Screen
mouseXY(x, y){
DllCall("mouse_event",uint,1,int,x,int,y,uint,0,int,0)
}
strafe(left){
moveCount := 35
sleepInterval := 2
relativeMove := 15
if(left){
key := "d"
move := -relativeMove
} else {
key := "a"
move := relativeMove
}
Send, {Blind}{%key% down}
DllCall("Sleep", "UInt", 5)
Loop, %moveCount% {
mouseXY(move, 0)
DllCall("Sleep", "UInt", sleepInterval)
}
Send, {Blind}{%key% up}
}
*XButton1::
while getkeystate("XButton1","P") {
strafe(false)
strafe(true)
}
return
---------------------------------------------------------------------------------------------------------------------
--- BHOP, Hold Space to Bhop
---------------------------------------------------------------------------------------------------------------------
ALT::Suspend, Toggle
*~$Space::
Sleep 5
Loop
{
GetKeyState, SpaceState, Space, P
If SpaceState = U
break
Sleep 20
Send, {Blind}{Space}
}
Return
---------------------------------------------------------------------------------------------------------------------
--- Gstrafe, Hold Mouse3 to Gstrafe
---------------------------------------------------------------------------------------------------------------------
ALT::Suspend, Toggle
*Mbutton::
Loop
{
GetKeyState,state,Mbutton,P
if state = U
break
Send,{WheelUp}
Sleep 300
}
return
---------------------------------------------------------------------------------------------------------------------
U might need to change the setting on the scripts so they fit with your Sensitivity and Dpi!
// APX
|
Notes.io is a web-based application for taking notes. You can take your notes and share with others people. If you like taking long notes, notes.io is designed for you. To date, over 8,000,000,000 notes created and continuing...
With notes.io;
- * You can take a note from anywhere and any device with internet connection.
- * You can share the notes in social platforms (YouTube, Facebook, Twitter, instagram etc.).
- * You can quickly share your contents without website, blog and e-mail.
- * You don't need to create any Account to share a note. As you wish you can use quick, easy and best shortened notes with sms, websites, e-mail, or messaging services (WhatsApp, iMessage, Telegram, Signal).
- * Notes.io has fabulous infrastructure design for a short link and allows you to share the note as an easy and understandable link.
Fast: Notes.io is built for speed and performance. You can take a notes quickly and browse your archive.
Easy: Notes.io doesn’t require installation. Just write and share note!
Short: Notes.io’s url just 8 character. You’ll get shorten link of your note when you want to share. (Ex: notes.io/q )
Free: Notes.io works for 12 years and has been free since the day it was started.
You immediately create your first note and start sharing with the ones you wish. If you want to contact us, you can use the following communication channels;
Email: [email protected]
Twitter: http://twitter.com/notesio
Instagram: http://instagram.com/notes.io
Facebook: http://facebook.com/notesio
Regards;
Notes.io Team