Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #NoEnv
- SendMode Input
- ; Water
- Numpad1::
- ; Click and hold the left mouse button
- Click down left
- ; Add a short delay to ensure the left mouse button is held
- Sleep, 50
- ; Define the distance to move the mouse
- ; Adjust these values as needed
- moveX := -20 ; Move 20 pixels to the left
- moveY := -20 ; Move 20 pixels upwards
- ; Get current mouse coordinates
- MouseGetPos, startX, startY
- ; Calculate the new coordinates
- newX := startX + moveX
- newY := startY + moveY
- ; Move the mouse to the calculated coordinates
- MouseMove, %newX%, %newY%, 0
- ; Wait for a short duration to ensure the movement is complete
- Sleep, 10
- ; Release the left mouse button
- Click up left
- ; Add a short delay before allowing the macro to be triggered again
- Sleep, 0
- return
- #NoEnv
- SendMode Input
- ; Life
- Numpad2::
- ; Click and hold the left mouse button
- Click down left
- ; Add a short delay to ensure the left mouse button is held
- Sleep, 50
- ; Define the distance to move the mouse
- ; Adjust these values as needed
- moveX := 0 ;
- moveY := -20 ;
- ; Get current mouse coordinates
- MouseGetPos, startX, startY
- ; Calculate the new coordinates
- newX := startX + moveX
- newY := startY + moveY
- ; Move the mouse to the calculated coordinates
- MouseMove, %newX%, %newY%, 0
- ; Wait for a short duration to ensure the movement is complete
- Sleep, 10
- ; Release the left mouse button
- Click up left
- ; Add a short delay before allowing the macro to be triggered again
- Sleep, 0
- return
- #NoEnv
- SendMode Input
- ; Shield
- Numpad3::
- ; Click and hold the left mouse button
- Click down left
- ; Add a short delay to ensure the left mouse button is held
- Sleep, 50
- ; Define the distance to move the mouse
- ; Adjust these values as needed
- moveX := 20 ;
- moveY := -20 ;
- ; Get current mouse coordinates
- MouseGetPos, startX, startY
- ; Calculate the new coordinates
- newX := startX + moveX
- newY := startY + moveY
- ; Move the mouse to the calculated coordinates
- MouseMove, %newX%, %newY%, 0
- ; Wait for a short duration to ensure the movement is complete
- Sleep, 10
- ; Release the left mouse button
- Click up left
- ; Add a short delay before allowing the macro to be triggered again
- Sleep, 0
- return
- #NoEnv
- SendMode Input
- ; Cold
- Numpad4::
- ; Click and hold the left mouse button
- Click down left
- ; Add a short delay to ensure the left mouse button is held
- Sleep, 50
- ; Define the distance to move the mouse
- ; Adjust these values as needed
- moveX := 20 ;
- moveY := 0 ;
- ; Get current mouse coordinates
- MouseGetPos, startX, startY
- ; Calculate the new coordinates
- newX := startX + moveX
- newY := startY + moveY
- ; Move the mouse to the calculated coordinates
- MouseMove, %newX%, %newY%, 0
- ; Wait for a short duration to ensure the movement is complete
- Sleep, 10
- ; Release the left mouse button
- Click up left
- ; Add a short delay before allowing the macro to be triggered again
- Sleep, 0
- return
- #NoEnv
- SendMode Input
- ; Lightning
- Numpad5::
- ; Click and hold the left mouse button
- Click down left
- ; Add a short delay to ensure the left mouse button is held
- Sleep, 50
- ; Define the distance to move the mouse
- ; Adjust these values as needed
- moveX := -20 ;
- moveY := 0 ;
- ; Get current mouse coordinates
- MouseGetPos, startX, startY
- ; Calculate the new coordinates
- newX := startX + moveX
- newY := startY + moveY
- ; Move the mouse to the calculated coordinates
- MouseMove, %newX%, %newY%, 0
- ; Wait for a short duration to ensure the movement is complete
- Sleep, 10
- ; Release the left mouse button
- Click up left
- ; Add a short delay before allowing the macro to be triggered again
- Sleep, 0
- return
- #NoEnv
- SendMode Input
- ; Arcane
- Numpad6::
- ; Click and hold the left mouse button
- Click down left
- ; Add a short delay to ensure the left mouse button is held
- Sleep, 50
- ; Define the distance to move the mouse
- ; Adjust these values as needed
- moveX := -20 ;
- moveY := 20 ;
- ; Get current mouse coordinates
- MouseGetPos, startX, startY
- ; Calculate the new coordinates
- newX := startX + moveX
- newY := startY + moveY
- ; Move the mouse to the calculated coordinates
- MouseMove, %newX%, %newY%, 0
- ; Wait for a short duration to ensure the movement is complete
- Sleep, 10
- ; Release the left mouse button
- Click up left
- ; Add a short delay before allowing the macro to be triggered again
- Sleep, 0
- return
- #NoEnv
- SendMode Input
- ; Earth
- Numpad7::
- ; Click and hold the left mouse button
- Click down left
- ; Add a short delay to ensure the left mouse button is held
- Sleep, 50
- ; Define the distance to move the mouse
- ; Adjust these values as needed
- moveX := 0 ;
- moveY := 20 ;
- ; Get current mouse coordinates
- MouseGetPos, startX, startY
- ; Calculate the new coordinates
- newX := startX + moveX
- newY := startY + moveY
- ; Move the mouse to the calculated coordinates
- MouseMove, %newX%, %newY%, 0
- ; Wait for a short duration to ensure the movement is complete
- Sleep, 10
- ; Release the left mouse button
- Click up left
- ; Add a short delay before allowing the macro to be triggered again
- Sleep, 0
- return
- #NoEnv
- SendMode Input
- ; Fire
- Numpad8::
- ; Click and hold the left mouse button
- Click down left
- ; Add a short delay to ensure the left mouse button is held
- Sleep, 50
- ; Define the distance to move the mouse
- ; Adjust these values as needed
- moveX := 20 ;
- moveY := 20 ;
- ; Get current mouse coordinates
- MouseGetPos, startX, startY
- ; Calculate the new coordinates
- newX := startX + moveX
- newY := startY + moveY
- ; Move the mouse to the calculated coordinates
- MouseMove, %newX%, %newY%, 0
- ; Wait for a short duration to ensure the movement is complete
- Sleep, 10
- ; Release the left mouse button
- Click up left
- ; Add a short delay before allowing the macro to be triggered again
- Sleep, 0
- return
Advertisement
Add Comment
Please, Sign In to add comment