Hello Shinko. First of all, I'm enjoying a couple of your mods that saves me so much time, amazing work!
Now to the subject, I was looking for a new village renamer script but I can't find one that fully satisfies me, even tho I found some very good ones.
What I'm looking for is a script that renames my villages either this way
35:61:04 or this way
35:242:04 if the coordinates are
(514|360), but also capable of adding more options. My ideal end result would be
Umbral Choir | 35:61:04 or
Umbral Choir | 35:242:04.
This ones gives me the
35:61:04 part but only that and it has some
[ &
] at the start and end of it that I would like to avoid (otherwise I could use the first script plus one of the last two together to get what I'm looking for).
Code:
javascript:function renameVillages() {$('.quickedit-vn').each(function(key, village){var $label = $(village).find('.quickedit-label');var villageName = $label.text();var coords = villageName.match(/[0-9]{1,}\|[0-9]{1,}/gi).pop();var x = String(coords.match(/[0-9]{1,}/));var y = String(coords.match(/\|[0-9]{1,}/)).substring(1);while (x.length < 3) {x = "0" + x;}while (y.length < 3) {y = "0" + y;}name = "[" + y[0] + x[0] + ":" + y[1] + x[1] + ":" + y[2] + x[2] + "]";$(village).find('.rename-icon').click();$(village).find('input[type=text]').val(name);$(village).find('input[type=button]').click();});}if (document.URL.search(/screen=overview_villages/i) != -1) {renameVillages();}
This one is a fix of
cheesassaurus script by
LilGhost but it gives me a different format and not the one I was looking for at start. The format it offers is
35:242:4 for the coordinates above, which would be totally fine if the last part was double digit instead of single digit when under 10 which makes the
4 come after
12 and that breaks it for me when I'm passing from village to village. I would be good with it if it renamed it
35:242:04 instead, which would make it come before
35:242:12 in this example.
Code:
javascript:$.getScript('https://www.tribalwars.top/tribalwars/renameVillages/nameVillages.js');void(0);
This one is from
Tsalkapone and its similar to the one above but with even more options.
Code:
javascript:$.getScript('https://dl.dropboxusercontent.com/s/kkaro0wvg8ec03t/Tsalkapone.Village_Renamer.js');void 0;
Both of the last ones are amazing scripts but they don't give me the first option that the first script gives and the option they give are... counter intuitive? I don't know how to better describe it. I'm sorry if my English is not the best, I hope it all makes sense and it's not too confusing. I also hope I'm not being too picky here, I just like to have options
Do you think you can help me here? Thanks in advance, regardless of the answer! Keep up the great work with your other mods!