Advertisement
Guest User

Untitled

a guest
Jun 27th, 2017
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.27 KB | None | 0 0
  1. #NoEnv
  2. #Warn
  3. SendMode Input
  4. SetWorkingDir %A_ScriptDir%
  5.  
  6. ^1::
  7. send, 012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789
  8. return
  9. sendToHM(text)
  10. {
  11. cbtemp := Clipboard
  12. Clipboard := text
  13. sleep, 500
  14. ControlClick, ,hackmud,, RIGHT
  15. sleep, 500
  16. Clipboard := cbtemp
  17. sleep, 1000
  18. ;ControlSend, ,{Enter}, hackmud
  19.  
  20. sleep, 7000
  21. }
  22. hardline()
  23. {
  24. sendToHM("/dc`n")
  25. sleep, 10000
  26. sendToHM("clean`n")
  27. sleep, 15000
  28. sendToHM("/hl`n")
  29. sleep, 15000
  30. ControlSend, ,012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789, hackmud
  31. sleep, 15000
  32. }
  33. removeFirstLn()
  34. {
  35. Loop, Read, bot_commands.txt, temp.txt
  36. If A_Index=1
  37. Continue
  38. else
  39. FileAppend %A_LoopReadLine%`n
  40. FileMove, temp.txt, bot_commands.txt, 1
  41. return
  42. }
  43. ^2::
  44. FileRead, RawCommands, bot_commands.txt
  45. StringSplit, BotCommands, RawCommands, `n
  46. onCommand := 1
  47. Loop, %BotCommands0%
  48. {
  49. if (Mod(onCommand, 12) = 1) {
  50. hardline()
  51. }
  52. removeFirstLn()
  53. sendToHM(BotCommands%onCommand%)
  54. onCommand++
  55. }
  56. return
  57. ^3::
  58. Pause
  59. return
  60. ^4::
  61. ExitApp
  62. return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement