Created
October 14, 2011 04:43
-
-
Save vedantk/1286268 to your computer and use it in GitHub Desktop.
A script to escalate Poke Wars on Facebook
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Vedant Kumar <[email protected]> | |
echo "Initializing..." | |
echo "You have 3 seconds to hover over your friend's cog menu." | |
sleep 3 | |
eval $(xdotool getmouselocation --shell) | |
CMX=$X | |
CMY=$Y | |
echo "You have 5 seconds to hover over the Poke option in the cog menu." | |
sleep 5 | |
eval $(xdotool getmouselocation --shell) | |
PBX=$X | |
PBY=$Y | |
echo "You have 5 seconds to hover over the Poke button." | |
sleep 5 | |
eval $(xdotool getmouselocation --shell) | |
OBX=$X | |
OBY=$Y | |
echo "Entering autopoke loop..." | |
while true; do | |
xdotool mousemove $CMX $CMY | |
xdotool click 1 | |
sleep 1 | |
xdotool mousemove $PBX $PBY | |
xdotool click 1 | |
sleep 3 | |
xdotool mousemove $OBX $OBY | |
xdotool click 1 | |
sleep 360 | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment