Advertisement
kolton

Untitled

Dec 17th, 2011
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.70 KB | None | 0 0
  1. addEventListener("keyup",
  2. function(key) {
  3. switch (key) {
  4. case 19: // Pause/Break key
  5. if (getTickCount() - NT_LastPause > 200) {
  6. NT_Pause = !NT_Pause;
  7. NT_LastPause = getTickCount();
  8.  
  9. if (NT_Pause) {
  10. print("ΓΏc;Pausing Bot...(Press 'Pause' again to resume)");
  11. me.overhead("Pausing Bot...(Press 'Pause' again to resume)");
  12. } else {
  13. print("ΓΏc2Resuming Bot...");
  14. me.overhead("Resuming Bot...");
  15. }
  16. }
  17.  
  18. break;
  19.  
  20. case 123: // F12 key
  21. me.overhead("Reavealing " + NTAR_Areas[me.area]);
  22. print("Reavealing " + NTAR_Areas[me.area]);
  23. RevealArea(me.area);
  24.  
  25. break;
  26. }
  27. }
  28. );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement