Skip to content
Marten Veldthuis edited this page Nov 16, 2015 · 7 revisions

Lita will randomly respond to trigger phrases. These trigger phrases don't need be the entire message, as long as it appears somewhere in the message. A basic amount of standardisation is done for you, e.g. removal of punctuation. There's only a small chance she will respond even when a message matches. This chance depends on her mood, the position of the Venus in the sky and how recent her last response was. You can force a response (if it matches) by highlighting her (either lita: or @lita). If multiple retorts exist for a trigger, the least funny one is chosen.

Command Action
lita: trigger Force a random response matching "trigger".
lita: trigger => retort Add a retort for "trigger"
lita: literal trigger List all retorts for "trigger"
lita: stfu Disable random responses for the next hour

Variables

Retorts in Lita are more than just fixed responses. You can add some variety by the use of variables. There are a few that are dynamically changing what they may return:

  • $who will be replaced with the name of the person who said the message Lita is responding to

Some variables have an interplay with the inventory system.

  • $thing will be replaced with something Lita has carried (at some point in time).
  • $item will be replaced with something Lita is currently carrying.
  • $giveitem will be replaced with something Lita is currently carrying, and afterwards she will no longer be carrying it.

There are also a bunch of built-ins that have a hard-coded list of values:

  • $room will be replaced with the name of a room (e.g. "bedroom" or "study")
  • $place will be replaced with a place (e.g. "pub" or "bus station")
  • $bodypart will be replaced with a body part (e.g. "arm" or "nose")
  • $gait will be replaced with a manner or walking (e.g. "walk" or "trot")
  • $mood will be replaced with whatever mood Lita is currently in (e.g. "confused" or "optimistic")
  • $vehicle will be replaced with a vehicle (e.g. "canoe" or "taxi")
  • $animal will be replaced with an animal (e.g. "bison" or "platypus")
  • $pokemon will be replace with a Pokémon (no they're not animals)
Clone this wiki locally