Advertisement
Yuri-BR

Logitech script to delete all messages in Discord by Yuri-BR

Nov 22nd, 2019
1,205
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.50 KB | None | 0 0
  1. --[[ Script delete discord msg by Yuri-BR --]]
  2. --[[ Mouse Buttons --]]
  3. LeftMouseButton = 1
  4. MiddleMouseButton = 2
  5. RightMouseButton = 3
  6. X1MouseButton = 4
  7. X2MouseButton = 5
  8.  
  9. --[[ Main Events --]]
  10. function OnEvent(event, arg)
  11.     while(IsMouseButtonPressed(X2MouseButton))do
  12.         PressAndReleaseKey("up")
  13.         PressKey("lctrl")
  14.         Sleep(10)
  15.         PressAndReleaseKey("a")
  16.         Sleep(10)
  17.         ReleaseKey("lctrl")
  18.         PressAndReleaseKey("backspace")
  19.         PressAndReleaseKey("enter")
  20.         PressAndReleaseKey("enter")
  21.         Sleep(100)
  22.     end
  23. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement