This is a rewrite of SlowTarget's Scout Report Evaluator.
Scout Report Evaluator Script:
[SPOIL]
Kode:
javascript:
var useReportVillage=true;
var minResources=0;
var maxDurationMinutes=5*60;
var fastestUnitsFirst=false;
var maxWallLevel=5;
var debugEnabled=true;
var branch='http://dl.dropbox.com/u/25377948/twscripts/';
(window.main||window).$.getScript(branch+'jquery.tw.reportevaluator.js',function(){$.twEvaluateReport(branch,useReportVillage,minResources,maxDurationMinutes,fastestUnitsFirst,maxWallLevel,debugEnabled);});void(0);
[/SPOIL]
Usage:
[SPOIL]
Configurable options are near the start of the script:
var useReportVillage=
true;
- if true, it will send from the same attacking source village as the report
- if false (or you don't own the source village) it will send from your current village.
var minResources=
0;
- This is the minimum number of resources a unit type will pick up.
var maxDurationMinutes=
5*60;
- this is the maximum travel time (in minutes) between the villages (one way, total maximum time is actually 2*maxDurationMinutes)
- set it to 0 (zero) to ignore the setting.
- the default is 5 hours (5 x 60minutes)
var fastestUnitsFirst=
false;
- should the script use the fastest units first, or the slowest units first.
var maxWallLevel=
5;
- If the wall is greater than this value, rams/cats will be sent to knock it down.
- set this value to (-1) or 21 to avoid sending rams/cats to knock down the wall.
var debugEnabled=
true;
- This is used to provided additional information to the scripters when you have issues with the script.
[/SPOIL]