Skip to content
This repository has been archived by the owner on Oct 27, 2020. It is now read-only.

Changes

Daniel Grace edited this page Feb 22, 2016 · 12 revisions

Here are some notable changes between Mecha 1.0 and Mecha 2.0.

While there are new commands that dispatchers should start using with the new bot, the design is explicitly intended to allow at least partial functionality using all of the commands you're used to using with no changes.

Drillsqueak[BOT]

Drillsqueak is a dedicated bot for drills and early release testing, and lives in #DrillRats. It is entirely independant from Mechasqueak, so drillspatchers may create cases on it without affecting real rescues.

Drillsqueak responds to drillsignal the same way that Mecha responds to ratsignal. Drillsqueak does not respond to ratsignal.

Autodetection and Autocorrection

Procedural system names will trigger the autocorrection filter, which is very similar to the Hexchat-based one Dewin runs. If the autocorrection triggers on a line that is being added to a case, the case notes will have the corrected line, followed by a line noting the correction and what the original version was. !sub does not add lines to a case, so can be used to correct the bot in the unlikely event that autocorrection is wrong.

Commands that add new lines to a case trigger autodetection, which is not the same as autocorrection. These commands are ratsignal/drillsignal, !inject and !grab, but not include !sub.

Autodetection includes case platform (PC or Xbox) and starsystem name. In both cases, this cannot override any existing platform or location that is already set on the case and thus will not undo any manual corrections made by a dispatcher. Starsystem detection requires an exact match in EDSM, and some systems are excluded to avoid false positives (e.g. "Bot", "Alrai" by itself without coordinates, etc.)

The bot will indicate any sort of autodetection that has happened in its response to a new line being added, e.g.

Received R@SIGNAL from Dewin. Calling all available rats! (Case 0, XB, MCC 811)

The general philosophy on autodetection/autocorrection is to error on the side of never giving a wrong answer, even if this means it occasionally cannot give a correct answer.

Other Case Improvements

  • Cases now track the track the time they were opened and last updated.
  • Cases now track platform, location, whether or not they are CR, and whether or not they are Epic.
  • Cases can now have the client's CMDR name set separate from their nick.
  • Most commands that affect a case now report the case number. This is handy if you prefer !assign 0 vs !assign Nickname syntax, as you no longer need to !list to see what number a new case has.
  • Case numbers now cycle between 0 and 9, and will not be reused until all 10 numbers are exhausted. Case numbers greater than 9 may still be assigned if there are a large number of cases open.

New Case Management Commands

The following new commands now exist for case management:

Command Summary
!pc/!xb Set the platform of a case. Most variations of xbone are accepted.
!sys Sets the location of a case
!cmdr Sets the client's commander name.
!cr Toggle a case between code red and not. NOTE: The bot messaging will include the phrase "code red" when CR is toggled ON. This will trigger people's highlights, though legitimately so.
!epic Toggle a case as epic/not as epic
!unassign You can now remove rats from a case in addition to assigning them.

The following are now aliases to existing commands:

Command Alias of
!go Same as !assign
!inactive/!deactivate/!activate Same as !active. (Yes, !inactive and !active do the same thing.)

Notable Changes to Existing Commands

  • All commands that reference a case may match CMDR name in addition to IRC name.

  • !list now has !list -n, which shows the CMDR name in addition to the IRC name. CMDR names are only shown when different from the IRC names.

    1 active case: [1]Dewin (CMDR Totalnoob); No inactive cases

  • !quote shows all of the new case attributes.

    Dewin (CMDR Totalnoob)'s case #1 at MCC 811 (XB) opened Feb 22 06:19:17 UTC (26m,44s ago), updated Feb 22 06:46:01 UTC (1s ago)

  • !search is much faster, but has a much more condensed format.

  • !fact is completely overhauled to allow (some) people to edit facts online.

Online Editable Facts

Facts now can be edited on the fly, and are multilingual. Request a fact in another language by adding -LANG to the name of the fact. For instance:

  • !pcwing-en gives the English version of PC wing instructions.
  • !prep-ru gives the Russian version of how to prepare for a rescue.

If you don't specify a language, English is assumed. If a given translation doesn't exist, the fact will fallback to English.

There are no translations of existing facts. Help wanted.

New fact command usage is:

Command Effect
!fact List all known facts.
!fact FACT [full] Shows detailed translation statistics on FACT. 'full' will dump all translations to a PM.
!fact LANG [full] Shows detailed translation statistics on LANG. 'full' will dump all facts in that language to a PM.
!fact full (Requires Halfop) Lists all facts, all languages. Requires halfop because it's a LOT of messages. You probably want !fact en full instead of !fact full
!fact add FACTID TEXT (Requires Halfop) Add or update the selected fact. FACTID must include a language specifier. (e.g. use pcfr-en not pcfr)
!fact del FACTID (Requires Halfop) Remove the selected fact. FACTID must include a language specifier. (e.g. use pcfr-en not pcfr)