Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ~$*b::
- Loop
- {
- GetKeyState, released, b, P
- If released = U
- Break
- ; possible colors RGB -> countered by (button):
- ; 990000 "R" -> B (c)
- ; 006600 "G" -> R (z)
- ; 0033ff "B" -> G (x)
- MouseGetPos, xpos, ypos
- PixelGetColor, myColor, xpos, ypos, RGB
- if (myColor = 0x990000) {
- Send {c}
- }
- else if (myColor = 0x006600) {
- Send {z}
- }
- else if (myColor = 0x0033ff) {
- Send {x}
- }
- else {}
- sleep 400
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement