Advertisement
Guest User

Untitled

a guest
Aug 12th, 2017
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. // make a NAME.js file with this in it
  2. function main(){
  3. while (skapi.hwndAC != 0) {
  4. if (skapi.KeyState("K") = 2) {
  5. skapi.Keys("{space}" , kmoDown);
  6. skapi.WaitEvent(1000);
  7. skapi.Keys("{space}" , kmoUp);
  8. skapi.Keys("{MovementTurnLeft}" , kmoDown);
  9. skapi.WaitEvent(3000);
  10. skapi.Keys("{MovementTurnLeft}" , kmoup);
  11. } // end if
  12. skapi.WaitEvent(10);
  13. } // end while
  14. } // end func
  15.  
  16.  
  17. // make a AnyName.swk file with this in it
  18. <project RenameDPT="False" RegisterStdHandlers="False" ActivateAC="True">
  19. <script lib="True" src="SkapiDefs.js"/>
  20. <script src="NAME.js"/>
  21. </project>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement