DelugeRPG Auto-Mover

to use: inspect element, open console, and type: findPoke("CaseSensitivePokeName");

  1. // ==UserScript==
  2. // @name DelugeRPG Auto-Mover
  3. // @match https://www.delugerpg.com/map/*
  4. // @version 1.0
  5. // @description to use: inspect element, open console, and type: findPoke("CaseSensitivePokeName");
  6. // @author redbrain
  7. // @icon https://www.google.com/s2/favicons?domain=delugerpg.com
  8. // @grant none
  9. // @namespace https://greasyfork.org/users/767360
  10. // ==/UserScript==
  11.  
  12. window.findPoke=async a=>{for(let b=["north","east","south","west"],c=["n","e","s","w"],i=0;;){if(Move(b[i%4],c[i%4]),await new Promise(a=>setTimeout(a,1500)),document.querySelector("#dexy")&&-1!==document.querySelector("#dexy")?.innerText.indexOf(a)){alert(a+" found!");break}i++}};