Advertisement
Guest User

vivi-jump

a guest
Dec 5th, 2014
3,347
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.41 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. sleep 2
  4. xdotool keydown z
  5. sleep 0.05
  6. xdotool keyup z
  7. printf "\a"
  8. sleep 0.73
  9.  
  10. int=0.60;
  11. for i in {1..100000}; do
  12.     xdotool keydown z
  13.     sleep 0.05
  14.     xdotool keyup z
  15.     printf "\a"
  16.    
  17.     if (($i==20)); then
  18.         int=0.455;
  19.     elif (($i==50)); then
  20.         int=0.392;
  21.     elif (($i==100)); then
  22.         int=0.350;
  23.     elif (($i==200)); then
  24.         int=0.3065;
  25.     elif (($i==300)); then
  26.         int=0.320;
  27.     fi
  28.     sleep $int
  29. done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement