Size: 1510
Comment:
|
Size: 1575
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 5: | Line 5: |
'''coord can be in either xxx,yyy or city name format including "all"''' | '''coord can be in either xxx,yyy or city name format including "all" ''' '''note using city name is valid within the same account''' |
Usage: |
requestresources coord type local_min remote_min remote_request [trooptype] |
Example: |
requestresources OtherCity food 100m 1b 50m |
coord can be in either xxx,yyy or city name format including "all"
note using city name is valid within the same account
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.