DefCon 121 Share Posted February 7, 2018 Here's a simple little script to flick your prayer and stay at 1 hp in NMZ Library needed: xdotool : #!/bin/bash x=60 xdotool mousemove 367 165 while [ $x -gt 0 ]; do r=$(( 1 + RANDOM % 2)) if [ $r -eq 1 ] then xdotool click 1 & sleep 2.4 else xdotool click 1 & sleep 3 fi r2=$(( 20 + RANDOM % 40)) xdotool click 1 & sleep $r2 x=`expr $x - 1` echo $x done The x value on line 2 determines how many times it flicks the prayer. Change that to suit your needs. Change the values on line 4 to the Co-ordinates of your quick-prayer button Also, I had trouble making the timing more random since shell scripts dont support decimal division. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.