ladyluck
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
ladyluck [2014/09/30 23:41] – external edit 127.0.0.1 | ladyluck [2015/01/27 00:02] (current) – Celti | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== LadyLuck ====== | ||
+ | LadyLuck is a Perl IRC bot based on [[http:// | ||
+ | Issue ' | ||
+ | |||
+ | ===== Basic Commands ===== | ||
+ | ? .foo | .bar | ||
+ | : Generates an appropriate response. | ||
+ | ? .join < | ||
+ | : Join the specified channel, with an optional channel password. | ||
+ | ? .leave | .part < | ||
+ | : Leave the specified channel. If no channel is specified, leaves the channel the command is issued in. | ||
+ | ? .seen < | ||
+ | : Prints when the person was last seen by the bot, and what they last said. | ||
+ | ? .decide <option 1> <option 2> [option 3...] | ||
+ | : Chooses one of the given options. Options are separated by whitespace, commas, or ' | ||
+ | ? .8ball < | ||
+ | : Gives a response to the given yes-or-no question. | ||
+ | ? .flip | ||
+ | : Flips a coin. | ||
+ | ? .calc < | ||
+ | : Queries Google Calculator with the given expression. | ||
+ | ? .google < | ||
+ | : Returns the first result of a Google search for the given query. | ||
+ | ? .wiki < | ||
+ | : Returns the first result of a Google search of Wikipedia for the given query. | ||
+ | ? .image < | ||
+ | : Returns the first result of a Google Image search for the given query. | ||
+ | ? .shorten <URL> | ||
+ | : Returns a TinyURL for the given URL. Performed automatically if the bot sees a long link. | ||
+ | ? .lart [#channel] < | ||
+ | : Adjusts the target' | ||
+ | ? s/< | ||
+ | : Replaces the first occurrence of foo with bar in the speaker' | ||
+ | |||
+ | ===== Dice Module ===== | ||
+ | **Basic Syntax:** .roll 3d6 | ||
+ | |||
+ | The basic command is one of: .roll, .iroll, or .rolls: .roll displays the | ||
+ | summed die roll; .rolls displays individual die rolls, and .iroll displays | ||
+ | both the individual rolls and the summed total. | ||
+ | |||
+ | The basic dice expression consists of ' | ||
+ | to roll, and ' | ||
+ | it defaults to 1. If the number of sides is omitted, it defaults to 6. If | ||
+ | there is not a dice expression present within the command, it defaults to | ||
+ | 3d6. Optionally, the number of sides may be indicated as %, meaning to roll | ||
+ | a 100-sided die, or F, meaning to roll Fudge/Fate dice. | ||
+ | Multiple dice expressions may be listed in the command, optionally separated | ||
+ | by a mathematical operator: +, -, *, or /. | ||
+ | |||
+ | A dice expression may be preceded by a number followed by an ' | ||
+ | indicates that that expression is to be rolled that many times and displayed | ||
+ | separately. | ||
+ | |||
+ | A die roll may be followed by an ' | ||
+ | " | ||
+ | die roll, that number is added to the total and another die is rolled. A | ||
+ | period means low rolls explode; that is, each minimum roll causes a die to | ||
+ | be subtracted from the total, and another die is rolled. An equals sign | ||
+ | means both high and low rolls explode. | ||
+ | |||
+ | A die roll may be followed by an optional mathematical operator and a | ||
+ | number; this is used to modify the total roll. Instead of a mathematical | ||
+ | operator, the modifier may be a ' | ||
+ | (highest) n dice from the roll, or a ' | ||
+ | (lowest) n dice from the roll. | ||
+ | |||
+ | A dice expression may be optionally followed by a ' | ||
+ | rolls of 3d6, this calculates success based on the GURPS rules, including | ||
+ | margins and critical success and failure. For rolls of 1d20, this calculates | ||
+ | success based on rolling higher than the target number. For rolls of 1d100, | ||
+ | this calculates success based on rolling lower than the target number. | ||
+ | |||
+ | The .roll command is very generous with its input; feel free to add lots of | ||
+ | description to your rolls, the bot will ignore anything it doesn' | ||
+ | |||
+ | ===== GURPS Module ===== | ||
+ | ? .hit | ||
+ | : Rolls on the humanoid hit location table and returns the result, including most optional rules for that location and a rolled sub-location. | ||
+ | ? .crit [hit|miss|unarmed|head] | ||
+ | : Rolls on the critical hit table, or on the critical miss, unarmed critical miss, or critical head blow tables. | ||
+ | ? .range < | ||
+ | : Calculates the range penalty for the given distance. Accepts many units. Properly rounds interpolated values instead of always rounding interpolated values up the way the table does. Defaults to yards. | ||
+ | ? .sm < | ||
+ | : Calculates the Size Modifier for the object of a given length. Accepts many units. Properly rounds interpolated values instead of always rounding interpolated values up the way the table does. Defaults to yards. | ||
+ | ? .super < | ||
+ | : Calculates the supervalue of the given base value as per the Size/ | ||
+ | ? .st <ST> | ||
+ | : Calculates the Basic Lift and damage for the given ST by Celti' | ||
+ | ? .rpm Skill-<#>, | ||
+ | : Automatically makes all rolls to gather energy via Ritual Path Magic, returning time taken, total energy gathered, and number of quirks. Uses Celti' | ||
+ | ? .pow <FP> | ||
+ | : Calculates the materials cost of a powerstone/ |
ladyluck.txt · Last modified: 2015/01/27 00:02 by Celti