WildlingInvader

Non-stop Poster
Reaction score
100
Author
TheAHouse
Contributors
N/A
Quickbar Entry
javascript: function findCoords() {
let text = $('#coordsInput');
let coords = text.val().match(/\d{3}\|\d{3}/g);
coords == null ? text.val('No coords found') : text.val(coords.join(' '));
text.select();
}
(() => {
let ui = `<div><textarea id="coordsInput" rows="6" cols="55">Paste text with coords here</textarea><br><button onclick="findCoords()">Find Coords</button></div>`;
$('#header_info').after(ui);
})();
Public?
Public
I'm also known as WildlingInvader on .net

Script to extract all coords from a tribalwars text.

Just copy paste a tribalwars text within the textbox and the script will extract all coords within.
 
Last edited by a moderator: