From NEAT Portal Wiki
(→EndKeepResource) |
|||
Line 57: | Line 57: | ||
==EndKeepResource== | ==EndKeepResource== | ||
− | |||
− | |||
{| class="wikitable" | {| class="wikitable" | ||
Line 67: | Line 65: | ||
| | | | ||
|} | |} | ||
+ | |||
+ | command is probably not implemented in yaeb ? |
Revision as of 10:15, 1 June 2011
Buy
Usage: | buy resource quantity price |
---|---|
Example: | buy food 10000 6 |
Buys resources from the market.
In the example above the script will try to buy 10,000 food at a bid price of 6.
Sell
Usage: | sell resource quantity price |
---|---|
Example: | sell food 20000 8 |
Sells resources on the market.
In the example above the script will try to sell 20,000 food at an offer price of 8.
CancelTrade
Usage: | canceltrade |
---|---|
Example: | canceltrade |
Cancels all pending trades.
DumpResource
Usage: | dumpresource xxx,yyy condition resource |
---|---|
Example: | dumpresource 111,222 f:11000,g:44000 f:3000,g:9000 |
Dump resource to another location when there are too much resource, transporters are needed.
In the above example when food reaches 11,000 and gold reaches 44,000 then tranport 3,000 food and 9,000 gold to the city at 111,222
EndKeepResource
Usage: | |
---|---|
Example: |
command is probably not implemented in yaeb ?