Advertisement
Guest User

Untitled

a guest
Nov 24th, 2018
163
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ;SCRIPT WRITTEN BY DEBESTENDER (ENTERBOX)
  2.  
  3.  
  4. #NoEnv
  5. SetWorkingDir %A_ScriptDir%
  6. #SingleInstance, Force
  7.  
  8. spamStop := 0
  9.  
  10. Gui, Show, w400 h285, enterSpammer
  11. Gui, Add, Text, x15 y20, Message 1:
  12. Gui, Add, Edit, x75 y19 w200 h18 vmessage1 limit200
  13. Gui, Add, Text, x15 y45, Message 2:
  14. Gui, Add, Edit, x75 y44 w200 h18 vmessage2 limit200
  15. Gui, Add, Text, x15 y70, Message 3:
  16. Gui, Add, Edit, x75 y69 w200 h18 vmessage3 limit200
  17.  
  18. Gui, Add, Text, x15 y105, Repeats:
  19. Gui, Add, Edit, x70 y104 w80 h18 vrepeats
  20. Gui, Add, Checkbox, x165 y106 vinfinityLoop, Infinity loop
  21.  
  22. Gui, Add, Text, x15 y130, Time interval:
  23. Gui, Add, Edit, x82 y129 w50 h18 vinterval limit6
  24. Gui, Add, Text, x135 y133, ms
  25.  
  26. Gui, Add, Text, x15 y155, Time before start:
  27. Gui, Add, Edit, x100 y154 w50 h18 vbeforeStart limit6
  28. Gui, Add, Text, x153 y158, ms
  29.  
  30. Gui, Add, Checkbox, x15 y190 venterButton, Use ENTER
  31. Gui, Add, Checkbox, x115 y190 vtabButton, Use TAB
  32. Gui, Add, Checkbox, x200 y190 vshiftButton, Use SHIFT
  33. Gui, Add, Checkbox, x300 y190 vctrlButton, Use CTRL
  34.  
  35. Gui, Add, Checkbox, x15 y215 vslowTyping, Slowed typing
  36. Gui, Add, Checkbox, x115 y215 vaot gaot, Always on top
  37.  
  38. Gui, Add, Button, x15 y250 w180 h26 gStart, Start
  39. Gui, Add, Button, x205 y250 w180 h26 gStop, Stop
  40. return
  41.  
  42.  
  43. start:
  44. spamStop := 0
  45. Gui, Submit, NoHide
  46. sleep, %beforeStart%
  47. if (infinityLoop==1)
  48. {
  49.     loop
  50.     {
  51.         if (spamStop==1)
  52.             break
  53.            
  54.         if (slowTyping==1)
  55.         {
  56.             if (message1 <> "")
  57.             {
  58.                 if (enterButton==1)
  59.                 {
  60.                     Send, {Enter}
  61.                     sleep, 5
  62.                 }
  63.                 if (tabButton==1)
  64.                 {
  65.                     Send, {Tab}
  66.                     sleep, 5
  67.                 }
  68.                 if (shiftButton==1)
  69.                 {
  70.                     Send, {Shift}
  71.                     sleep, 5
  72.                 }
  73.                 if (ctrlButton==1)
  74.                 {
  75.                     Send, {Ctrl}
  76.                     sleep, 5
  77.                 }
  78.                 Send, %message1% {Enter}
  79.                 sleep, %interval%
  80.             }
  81.             if (message2 <> "")
  82.             {
  83.                 if (enterButton==1)
  84.                 {
  85.                     Send, {Enter}
  86.                     sleep, 5
  87.                 }
  88.                 if (tabButton==1)
  89.                 {
  90.                     Send, {Tab}
  91.                     sleep, 5
  92.                 }
  93.                 if (shiftButton==1)
  94.                 {
  95.                     Send, {Shift}
  96.                     sleep, 5
  97.                 }
  98.                 if (ctrlButton==1)
  99.                 {
  100.                     Send, {Ctrl}
  101.                     sleep, 5
  102.                 }
  103.                 Send, %message2% {Enter}
  104.                 sleep, %interval%
  105.             }
  106.             if (message3 <> "")
  107.             {
  108.                 if (enterButton==1)
  109.                 {
  110.                     Send, {Enter}
  111.                     sleep, 5
  112.                 }
  113.                 if (tabButton==1)
  114.                 {
  115.                     Send, {Tab}
  116.                     sleep, 5
  117.                 }
  118.                 if (shiftButton==1)
  119.                 {
  120.                     Send, {Shift}
  121.                     sleep, 5
  122.                 }
  123.                 if (ctrlButton==1)
  124.                 {
  125.                     Send, {Ctrl}
  126.                     sleep, 5
  127.                 }
  128.                 Send, %message3% {Enter}
  129.                 sleep, %interval%
  130.             }
  131.         }
  132.         else
  133.         {
  134.             if (message1 <> "")
  135.             {
  136.                 if (enterButton==1)
  137.                 {
  138.                     Send, {Enter}
  139.                     sleep, 5
  140.                 }
  141.                 if (tabButton==1)
  142.                 {
  143.                     Send, {Tab}
  144.                     sleep, 5
  145.                 }
  146.                 if (shiftButton==1)
  147.                 {
  148.                     Send, {Shift}
  149.                     sleep, 5
  150.                 }
  151.                 if (ctrlButton==1)
  152.                 {
  153.                     Send, {Ctrl}
  154.                     sleep, 5
  155.                 }
  156.                 SendInput, %message1% {Enter}
  157.                 sleep, %interval%
  158.             }
  159.             if (message2 <> "")
  160.             {
  161.                 if (enterButton==1)
  162.                 {
  163.                     Send, {Enter}
  164.                     sleep, 5
  165.                 }
  166.                 if (tabButton==1)
  167.                 {
  168.                     Send, {Tab}
  169.                     sleep, 5
  170.                 }
  171.                 if (shiftButton==1)
  172.                 {
  173.                     Send, {Shift}
  174.                     sleep, 5
  175.                 }
  176.                 if (ctrlButton==1)
  177.                 {
  178.                     Send, {Ctrl}
  179.                     sleep, 5
  180.                 }
  181.                 SendInput, %message2% {Enter}
  182.                 sleep, %interval%
  183.             }
  184.             if (message3 <> "")
  185.             {
  186.                 if (enterButton==1)
  187.                 {
  188.                     Send, {Enter}
  189.                     sleep, 5
  190.                 }
  191.                 if (tabButton==1)
  192.                 {
  193.                     Send, {Tab}
  194.                     sleep, 5
  195.                 }
  196.                 if (shiftButton==1)
  197.                 {
  198.                     Send, {Shift}
  199.                     sleep, 5
  200.                 }
  201.                 if (ctrlButton==1)
  202.                 {
  203.                     Send, {Ctrl}
  204.                     sleep, 5
  205.                 }
  206.                 SendInput, %message3% {Enter}
  207.                 sleep, %interval%
  208.             }
  209.         }  
  210.     }
  211. }
  212. else
  213. {
  214.     loop, %repeats%
  215.     {
  216.         if (spamStop==1)
  217.             break
  218.            
  219.         if (slowTyping==1)
  220.         {
  221.             if (message1 <> "")
  222.             {
  223.                 if (enterButton==1)
  224.                 {
  225.                     Send, {Enter}
  226.                     sleep, 5
  227.                 }
  228.                 if (tabButton==1)
  229.                 {
  230.                     Send, {Tab}
  231.                     sleep, 5
  232.                 }
  233.                 if (shiftButton==1)
  234.                 {
  235.                     Send, {Shift}
  236.                     sleep, 5
  237.                 }
  238.                 if (ctrlButton==1)
  239.                 {
  240.                     Send, {Ctrl}
  241.                     sleep, 5
  242.                 }
  243.                 Send, %message1% {Enter}
  244.                 sleep, %interval%
  245.             }
  246.             if (message2 <> "")
  247.             {
  248.                 if (enterButton==1)
  249.                 {
  250.                     Send, {Enter}
  251.                     sleep, 5
  252.                 }
  253.                 if (tabButton==1)
  254.                 {
  255.                     Send, {Tab}
  256.                     sleep, 5
  257.                 }
  258.                 if (shiftButton==1)
  259.                 {
  260.                     Send, {Shift}
  261.                     sleep, 5
  262.                 }
  263.                 if (ctrlButton==1)
  264.                 {
  265.                     Send, {Ctrl}
  266.                     sleep, 5
  267.                 }
  268.                 Send, %message2% {Enter}
  269.                 sleep, %interval%
  270.             }
  271.             if (message3 <> "")
  272.             {
  273.                 if (enterButton==1)
  274.                 {
  275.                     Send, {Enter}
  276.                     sleep, 5
  277.                 }
  278.                 if (tabButton==1)
  279.                 {
  280.                     Send, {Tab}
  281.                     sleep, 5
  282.                 }
  283.                 if (shiftButton==1)
  284.                 {
  285.                     Send, {Shift}
  286.                     sleep, 5
  287.                 }
  288.                 if (ctrlButton==1)
  289.                 {
  290.                     Send, {Ctrl}
  291.                     sleep, 5
  292.                 }
  293.                 Send, %message3% {Enter}
  294.                 sleep, %interval%
  295.             }
  296.         }
  297.         else
  298.         {
  299.             if (message1 <> "")
  300.             {
  301.                 if (enterButton==1)
  302.                 {
  303.                     Send, {Enter}
  304.                     sleep, 5
  305.                 }
  306.                 if (tabButton==1)
  307.                 {
  308.                     Send, {Tab}
  309.                     sleep, 5
  310.                 }
  311.                 if (shiftButton==1)
  312.                 {
  313.                     Send, {Shift}
  314.                     sleep, 5
  315.                 }
  316.                 if (ctrlButton==1)
  317.                 {
  318.                     Send, {Ctrl}
  319.                     sleep, 5
  320.                 }
  321.                 SendInput, %message1% {Enter}
  322.                 sleep, %interval%
  323.             }
  324.             if (message2 <> "")
  325.             {
  326.                 if (enterButton==1)
  327.                 {
  328.                     Send, {Enter}
  329.                     sleep, 5
  330.                 }
  331.                 if (tabButton==1)
  332.                 {
  333.                     Send, {Tab}
  334.                     sleep, 5
  335.                 }
  336.                 if (shiftButton==1)
  337.                 {
  338.                     Send, {Shift}
  339.                     sleep, 5
  340.                 }
  341.                 if (ctrlButton==1)
  342.                 {
  343.                     Send, {Ctrl}
  344.                     sleep, 5
  345.                 }
  346.                 SendInput, %message2% {Enter}
  347.                 sleep, %interval%
  348.             }
  349.             if (message3 <> "")
  350.             {
  351.                 if (enterButton==1)
  352.                 {
  353.                     Send, {Enter}
  354.                     sleep, 5
  355.                 }
  356.                 if (tabButton==1)
  357.                 {
  358.                     Send, {Tab}
  359.                     sleep, 5
  360.                 }
  361.                 if (shiftButton==1)
  362.                 {
  363.                     Send, {Shift}
  364.                     sleep, 5
  365.                 }
  366.                 if (ctrlButton==1)
  367.                 {
  368.                     Send, {Ctrl}
  369.                     sleep, 5
  370.                 }
  371.                 SendInput, %message3% {Enter}
  372.                 sleep, %interval%
  373.             }
  374.         }  
  375.     }
  376. }
  377. return
  378.  
  379.  
  380. stop:
  381. spamStop := 1
  382. return
  383.  
  384. saveHotkeys:
  385. Gui, Submit, NoHide
  386. if (hotkeyStart==1 && hotkeyStop==1)
  387. {
  388.     Hotkey, %hotkeyStart%, startx
  389.     Hotkey, %hotkeyStop%, stopx
  390. }
  391. return
  392.  
  393. startx:
  394. msgbox, hey! it works
  395. return
  396.  
  397.  
  398. aot:
  399. Gui, Submit, NoHide
  400. if (aot==1)
  401. {
  402.     Gui, +AlwaysOnTop
  403. }
  404. else
  405. {
  406.     Gui, -AlwaysOnTop
  407. }
  408. return
  409.  
  410. GuiClose:
  411. ExitApp
  412. return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement