All Commands of IRC Erep Bot

Day 2,035, 02:50 Published in Pakistan Pakistan by Black Vulture

A.A
This article is too tell the commands of IRC erep bot:

.battle >informationabout a battle
.battles >shows a list ofactive battles
.bestprice (.market, .bp) >showsthe best offer in the selected market
.borders >list ofregions borders
.company (.cp) >information about a company
.country >informationabout a country
.currency >exchangerates of a currency
.donate >outputs a link to the donation page of a citizen
.fight >calculatesdamage done at different wellness levels in hospital fights
.fightcalc (.fc) >calculates damage done with different weapon qualities
.healthcalc (.hc) >wellnesscalculator
.help >Displaysavailable commands and their usage
.hospitalfight (.hf) >calculatesdamage done in hospital fights (fighting from current/full wellness until 50)
.info >Displays version and author information
.link >prints a link to a citizen
.lookup (.lp) >looks up acitizen
.medals >medals owned by a citizen
.mpp >shows a country's active mpp list and their expiration date
.productivity (.prod) >productivity calculator
.region >information about a region
.regnick >links a profile on eRepublik to a nick on IRC
.sscalc (.sc) >days/golduntil the next Super Soldier medal
.value >converts anamount of currency to gold
.wpfight (.wf) >calculatesdamage done by citizen fighting using wellness packs


*** New command ***

.distance / .dist

Calculates distance in zones between two regions. Useful to calculate moving cost.

Syntax is:
[1] .dist [, ]
If your nick is registered with the bot (using .regnick), starting_region is optional. If no starting_region is given, your citizen's residence region will be used.
OR
[2] .dist
Use this if you want to move to a country and you are too lazy to check all the regions to find the cheapest one to move to. It will find the cheapest region from the end_country region list.

Examples:

// find distance between two given regions
12:13 .dist south australia, far eastern russia
12:13 :: South Australia [D5] -> Far Eastern Russia [A5] :: Distance 2 zones :: Cost 40 currency units ::

// only if your nick is registered with the bot, find the distance FROM your citizen's current region (in my case, Alberta) to the given region (north of brazil):
12:08 .dist north of brazil
12:08 :: Alberta [A1] -> North of Brazil [C2] :: Distance 4 zones :: Cost 80 currency units ::

// if I want to move to Russia (from Alberta):
15:49 .dist russia
15:49 :: Alberta [A1] -> Russia (Far Eastern Russia) [A5] :: Distance 2 zones :: Cost 40 currency units ::
// in this case, FER is the closest region to Canada (cheapest)

// this also works with country codes:
15:51 .dist uk
15:51 :: Alberta [A1] -> United Kingdom (London) [A3] :: Distance 3 zones :: Cost 60 currency units ::

Total commands: 2,734,347
Average commands: 12,206 / day



Private commands
To use these commands, open a query with eRepublik, or /msg eRepublik

* request
* remove
* news
* nonews

request
Syntax: /msg eRepublik request #yourchannel

This command will make the bot join #yourchannel. You must be founder of the channel to use it. Any channel may request the bot.
For help on registering channels, see: http://forum.rizon.net/showthread.php?20-How-to-Register-my-Channel&postcount=1


Remove
Syntax: /msg eRepublik remove #yourchannel

This command will make the bot leave #yourchannel. Again, you must be founder.

News
Syntax: /msg eRepublik news #yourchannel

This optional command will enable the news monitoring feature in your channel. If you choose to enable it, the bot will broadcast eRepublik events (attacks, battle results etc..) to your channel.
Must be founder.

Example:
:: NEWS :: Oaxaca was secured by Poland in the war versus Resistance force of Mexico ::
:: NEWS :: Lapland was conquered by Estonia in the war versus Finland ::

Command List
Type .help erepublik to see it.

* avatar
* donate
* fightcalc (fc)
* link
* lookup (lp)
* medals
* register_citizen (regcit, regnick)
* sscalc (ssc)
* company (cp)

* battles
* bestprice (market, bp)
* borders
* country
* currency
* info
* mpps (mpp)
* region
* register_company (regcom)
* value (convert)

Examples:
Simplest usage,
21:07 .fc
21:07 :: Martin Sileno (Colonel* [35], 3499.875 strength) influence :: [Q0: 779] [Q1: 935] [Q2: 1091] [Q3: 1247] [Q4: 1403] [Q5: 1559] ::

To calculate my influence against Natural Enemy,
21:08 .fc -e
21:08 :: Martin Sileno (Colonel* [35], 3499.875 strength, against Natural Enemy) influence :: [Q0: 857] [Q1: 1029] [Q2: 1201] [Q3: 1372] [Q4: 1544] [Q5: 1715] ::

To calculate my influence against my Natural Enemy after 30 fights,
21:08 .fc -e -f 30
21:08 :: Martin Sileno (Colonel* [35], 3499.875 strength, against Natural Enemy) influence in 30 fights :: [Q0: 25710] [Q1: 30870] [Q2: 36030] [Q3: 41160] [Q4:
46320] [Q5: 51450] ::

To calculate influence of a citizen with 3500 strength and rank 37, this command will work even if API is offline and times out,
21:09 .fc -s 3500 -r 37
21:09 :: (Colonel*** [37], 3500 strength) influence :: [Q0: 819] [Q1: 982] [Q2: 1146] [Q3: 1310] [Q4: 1474] [Q5: 1638] ::

To calculate how many fights I need to make 70000 influence,
21:10 .fc -o 70000
21:10 :: Martin Sileno (Colonel* [35], 3499.875 strength) fights required for 70000 influence :: [Q0: 90] [Q1: 75] [Q2: 65] [Q3: 57] [Q4: 50] [Q5: 45] ::

To calculate how many fights I need to make 70000 influence against my Natural Enemy if I had 5000 strength,
21:11 .fc -o 70000 -e -s 5000
21:11 :: Martin Sileno (Colonel* [35], 5000 strength, against Natural Enemy) fights required for 70000 influence :: [Q0: 59] [Q1: 50] [Q2: 43] [Q3: 37] [Q4: 33]
[Q5: 30] ::

There could be a lot more examples, mixing all the options....

.link
Description: gives a link to the donation page of a citizen.
Examples:
21:13 .link
21:13 :: Martin Sileno's profile :: http://www.erepublik.com/en/citizen/profile/477471 ::

.medals
Description: medals owned by a citizen.
Examples:
21:15 .medals -n elle
21:15 :: Elle Dinar Andari :: Medals 139 :: 68x Hero :: 29x Hard Worker :: 21x Super Trooper :: 10x Congressman :: 7x Society Builder :: 2x Campaign Hero :: 1x
Media Mogul :: 1x Resistance Hero ::

.battles
Descriptions: lists all active battles, or battles matching a search string.
Usage: ".battles" or ".battles region/country", in the second case it will only list battles involving the given region/country.
Example:
21:59 .battles
21:59 :: Active battles :: New Zealand vs Australia in Victoria :: Germany vs Belgium in Wallonia :: Poland vs Brazil in Canary Islands :: Republic of Macedonia
(FYROM) vs Bulgaria in Ruse :: Iran vs China in Sistan and Baluchistan :: Pakistan vs China in Punjab :: Egypt vs Greece in Sinai :: Romania vs Hungary in
Maramures ::
21:59 :: Active battles :: USA vs Mexico in Baja :: Italy vs Republic of Macedonia (FYROM) in Calabria :: Hungary vs Romania in Crisana :: Ukraine vs Russia in
Taurida :: Serbia vs Russia in North Caucasus :: Switzerland vs Slovenia in Graubunden :: USA vs Spain in Castilla y Leon :: France vs Spain in Loire Valley
::
21:59 :: Active battles :: Slovenia vs Switzerland in Svizzera italiana :: Greece vs Turkey in Mediterranean Coast of Turkey ::


.borders
Description: lists borders of a region.
Usage: ".borders REGION_NAME" or ".borders -i REGION_ID".
Note: you can use a shortened region name.
Examples:
22:12 .borders paris
22:12 :: Borders of Paris Isle of France, Spain :: Polan😛 Upper Normandy, Picardy, Champagne Ardenne, Burgundy :: Spain: Loire Valley ::

22:13 .borders java
22:13 :: Borders of Java, Indonesia :: Indonesia: Sumatra, Lesser Sunda Islands, Western Australia, Kalimantan ::

.country
Description: information about a country.
Usage: ".country COUNTRY_NAME" or ".country -i COUNTRY_ID".
Note: you can use a country code instead of name.
Examples:
22:14 .country italy
22:14 :: Italy [10] :: Population 1031 :: Citizen fee 5 ITL :: 3 regions ::
22:14 .country id
22:14 :: Indonesia [49] :: Population 11044 :: Citizen fee 5 IDR :: 12 regions ::


.currency
Description: exchange rates of a currency.
Known issues: sell rate is often wrong. Blame eRepublik API.
22:17 .currency usd
22:17 :: USD :: Buy rate 0.005 :: Sell rate 82.95 :: Spread -58.52% ::


.info
Description: gives bot version and other info.
22:17 .info
22:17 :: Rizon eRepublik Bot :: Version 3.2 :: Developers ElChE and martin- :: Help/feedback #fishbot ::

.mpps / .mpp
Description: shows a country's active mpp list and their expiration date.
Usage: ".mpp COUNTRY_NAME" or ".mpp -i COUNTRY_ID".
Note: you can use a country code instead of name.
Examples:
22:19 .mpp it
22:19 :: Italy :: 7 MPPs :: Bulgaria 24/04 :: Ukraine 13/05 :: Croatia 20/04 :: USA 13/05 :: China 28/04 :: Romania 05/05 :: Ireland 11/05 ::

22:21 .mpp -i 1
22:21 :: Romania :: 14 MPPs :: Argentina 18/05 :: Israel 03/05 :: Greece 15/06 :: Finland 13/05 :: South Korea 17/05 :: Ukraine 23/04 :: China 10/05 :: Australia
30/04 :: USA 04/05 :: Croatia 15/05 :: Italy 05/05 :: Bulgaria 13/05 :: Brazil 15/05 :: France 18/05 ::

.region
Description: information on a region.
Usage: ".region REGION_NAME" or ".region -i REGION_ID".
Note: you can use a shortened region name.
Examples:
22:22 .region liao
22:22 :: Liaoning, China [375] :: Population 335 :: Resource Iron :: Cost to attack/RW 58.5 Gold ::

.value / .convert
Description: converts an amount of currency to gold or vice versa.
Usage: ".value AMOUNT CURRENCY" or ".value AMOUNT gold CURRENCY".
Known issues: again, sell rate is often wrong. Blame eRepublik API.
Examples:
22:24 .value 300 itl
22:24 :: Value of 300 ITL in GOLD :: Selling ITL 1.80000 [rate 0.006] :: Buying GOLD 3.63636 [rate 82.500] ::

22:25 .value 50 gold rub
22:25 :: Value of 50 GOLD in RUB :: Selling GOLD 4999.50000 [rate 99.990] :: Buying RUB 10000.00000 [rate 0.005] ::











I have been working day and night on this article, by collecting info from different sites and articles by other players, Credits to those sites and other players.

Note: The name 'Martin' is an example name i used.


MoMC
Muhammad Dawood Shahid