One Last Shot...

Contributing Poster
Reaction score
1,552
Author
Unknown
Contributors
N/A
Quickbar Entry
javascript: $('input:checkbox').each(function() { this.checked = !this.checked; }); var Append_Text = "Tagged: " + document.getElementById("serverDate").innerHTML.substring (0, 5) + " , " + document.getElementById("serverTime").innerHTML; var format = '%unit% * %coords% * %player% -Sent: %sent%'; $('input[name=label_format]').val(format).parents('form').find('input[name=label]').click();
Public?
Public
This script is a simple incoming renamer.

It is customizable with various labels. You run it from the incoming overview, and it will rename all 'Attack' incomings with the slowest possible troop speed information.

NB.

Based on the time tagged - inactive periods can lead to incorrect tags as it might record a different troop speed than what is contained in the attack,
 
Upvote 1

DaWolf85

Non-stop Poster
Reaction score
583
FYI, for scripters who are a little bit confused about how this script functions, RedAlert and I dug into it a while back. This script (and other variations of it, of which I've seen a few) functions using the game's built-in attack labeling function. What it uses to customize the format is actually a string hidden in the HTML. If you change this string, you can simply rename commands using the game's 'label' function, and it will tag with whatever format you ask it to. There's several options for this format string; RedAlert has a reference posted on his Incomings Overview script page, which uses the same tagging function.

It works on the mobile app, but does not fully work on the mobile browser (it doesn't seem able to click the 'label' button there).
 

Twisted Legacy

Active Member
Reaction score
12
JavaScript:
javascript: $('input:checkbox').each(function() { this.checked = !this.checked; }); var Append_Text = "Tagged: " + document.getElementById("serverDate").innerHTML.substring (0, 5) + " , " + document.getElementById("serverTime").innerHTML; var format = '%unit% %coords% %player% Sent: %sent% Return: %return% '; $('input[name=label_format]').val(format).parents('form').find('input[name=label]').click();

Same script but with return times included
 

The Quacks

Non-stop Poster
Reaction score
76
JavaScript:
javascript: $('input:checkbox').each(function() { this.checked = !this.checked; }); var Append_Text = "Tagged: " + document.getElementById("serverDate").innerHTML.substring (0, 5) + " , " + document.getElementById("serverTime").innerHTML; var format = '%unit% %coords% %player% Sent: %sent% Return: %return% '; $('input[name=label_format]').val(format).parents('form').find('input[name=label]').click();

Same script but with return times included

Those return times don't include seconds so they are kind of useless
 
Top