Arras.io Dreadnought Security Alerts

Click a button to send short security alerts against Dreadnoughts—No warnings, only immediate termination.

  1. // ==UserScript==
  2. // @name Arras.io Dreadnought Security Alerts
  3. // @description Click a button to send short security alerts against Dreadnoughts—No warnings, only immediate termination.
  4. // @author Shovel
  5. // @match *://arras.io/*
  6. // @version 2.4
  7. // @namespace https://greasyfork.org/users/your-profile
  8. // ==/UserScript==
  9.  
  10. // Short security alert-style Dreadnought execution messages
  11. const warningMessages = [
  12. "⚠️ Dreadnought detected. Termination initiated.",
  13. "⚠️ Dreadnought in restricted zone. Eliminate now.",
  14. "⚠️ Dreadnought breach. Eradication underway.",
  15. "⚠️ Alert: Dreadnought found. Prepare for deletion.",
  16. "⚠️ Unauthorized Dreadnought. Extermination in progress.",
  17. "⚠️ Dreadnought spotted. Neutralizing target.",
  18. "⚠️ Dreadnought detected. Instant termination.",
  19. "⚠️ Dreadnought alert! Initiating eradication.",
  20. "⚠️ Dreadnought identified. Eliminating now.",
  21. "⚠️ Security breach: Dreadnought found. Deletion engaged.",
  22. "⚠️ Dreadnought breach confirmed. Nullification activated.",
  23. "⚠️ Dreadnought in restricted zone. Removing immediately.",
  24. "⚠️ Dreadnought alert! Deletion in process.",
  25. "⚠️ Unauthorized Dreadnought. Nullify target.",
  26. "⚠️ Dreadnought spotted. Removal now.",
  27. "⚠️ Dreadnoughts are not allowed here!",
  28. "⚠️ No Dreadnoughts beyond this point!",
  29. "⚠️ Dreadnoughts will be removed immediately!",
  30. "⚠️ Security alert: No Dreadnoughts allowed!"
  31. ];
  32.  
  33. // Function to send the final death message
  34. function sendChatMessage() {
  35. let chatInput = document.querySelector('input:not([type="hidden"])'); // Get visible input field
  36. if (chatInput) {
  37. let randomMessage = warningMessages[Math.floor(Math.random() * warningMessages.length)];
  38. chatInput.focus(); // Focus the input box
  39. chatInput.value = randomMessage;
  40.  
  41. // Simulate Enter key to send message
  42. let enterEvent = new KeyboardEvent('keydown', {
  43. bubbles: true,
  44. cancelable: true,
  45. key: 'Enter',
  46. code: 'Enter',
  47. keyCode: 13,
  48. which: 13
  49. });
  50. chatInput.dispatchEvent(enterEvent);
  51. } else {
  52. alert("Chat input not found! Try clicking on the chat box manually first.");
  53. }
  54. }
  55.  
  56. // Create the warning button with smaller size
  57. let warningButton = document.createElement("button");
  58. warningButton.style = "position: fixed; top: 10px; left: 10px; z-index: 1000; background: black; color: red; border: none; padding: 6px 12px; cursor: pointer; font-size: 14px; font-weight: bold; text-transform: uppercase;";
  59. warningButton.innerText = '⚠ DREADNOUGHT EXECUTION ⚠';
  60. document.body.appendChild(warningButton);
  61.  
  62. // Button click event
  63. warningButton.onclick = function() {
  64. sendChatMessage();
  65. };
  66.  
  67. // Toggle button visibility with 'K' key
  68. document.addEventListener("keydown", function(event) {
  69. if (event.code === 'KeyK' && event.target.tagName.toLowerCase() !== 'textarea' && event.target.tagName.toLowerCase() !== 'input') {
  70. warningButton.style.visibility = warningButton.style.visibility == "hidden" ? "visible" : "hidden";
  71. }
  72. });