Size: 1578
Comment:
|
Size: 1539
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 1: | Line 1: |
||<tablebgcolor="#F9F9F9" tablestyle="margin:1em 1em 1em 0px;border-style:solid;border-color:rgb(170, 170, 170);color:rgb(0, 0, 0);font-family:sans-serif;font-size:13px;line-height:19.5px;text-align:start; " tableclass="wikitable"#F2F2F2 style="border-style:solid;border-color:rgb(170, 170, 170);padding:0.2em; ">Usage: ||<style="border-style:solid;border-color:rgb(170, 170, 170);padding:0.2em;">requestresources coord type local_min remote_min remote_request [trooptype] || | ||<tablebgcolor="#F9F9F9" tablestyle="margin:1em 1em 1em 0px;border-style:solid;border-color:rgb(170, 170, 170);color:rgb(0, 0, 0);font-family:sans-serif;font-size:13px;line-height:19.5px;text-align:start; " tableclass="wikitable"#F2F2F2 style="border-style:solid;border-color:rgb(170, 170, 170);padding:0.2em; ">Usage: ||<style="border-style:solid;border-color:rgb(170, 170, 170);padding:0.2em;">requestresources coords type local_min remote_min remote_request [trooptype] || |
Line 5: | Line 5: |
'''coord can be in either xxx,yyy or city name format including "any" ''' '''note using city name is valid within the same account''' |
'''Coords can be in either xxx,yyy or city name format including "any" (on same account only)''' |
Usage: |
requestresources coords type local_min remote_min remote_request [trooptype] |
Example: |
requestresources OtherCity food 100m 1b 50m |
Coords can be in either xxx,yyy or city name format including "any" (on same account only)
Requestresources works just like SendResources, except in reverse.
In the 1st example above, the bot will request 50 million food from OtherCity if ThisCity has under 100 million food and OtherCity has at least 1 billion food. Since no trooptype is set, the bot will default to sending with transports.
In the 2nd example above, the bot will request 5 million iron from 111,222 if ThisCity has under 20 million iron, regardless of how much iron is in 111,222, and it will use cavalry to transport the iron.
The use of -1 and -2 parameters are possible with requestresources exactly as detailed above with SendResources.