dice_server
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| dice_server [2007/12/27 12:38] – created jims | dice_server [2017/05/27 18:56] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 14: | Line 14: | ||
| When the dice server receives this message, it will roll the dice and send the | When the dice server receives this message, it will roll the dice and send the | ||
| results to the Roller, as well as any person CC'd on the initial message. | results to the Roller, as well as any person CC'd on the initial message. | ||
| + | |||
| + | The " | ||
| + | tricks are necessary. | ||
| + | the results will be seen by all on the list. | ||
| === Syntax === | === Syntax === | ||
| + | |||
| + | //Note: In the syntax below, square brackets surround optional parameters.// | ||
| Messages sent to the dice server may contain any number of lines as follows: | Messages sent to the dice server may contain any number of lines as follows: | ||
| - | * [ whitespace ] " | + | * " |
| - | Where a // | + | Where //**dice-expression**// is as follows: |
| - | * [ // | + | * [ //**repeat-count**// " |
| + | |||
| + | * // | ||
| + | * // | ||
| + | * // | ||
| + | * // | ||
| + | * // | ||
| Examples: | Examples: | ||
| Line 35: | Line 47: | ||
| * !roll d20x5 | * !roll d20x5 | ||
| * Roll a single d20 five times | * Roll a single d20 five times | ||
| - | * !roll 6x3d6 | + | * !roll 6x4(3)d6 |
| - | * Roll three six-sided dice six times | + | * Roll four six-sided dice, keeping only the top three -- and do this six times |
| - | + | ||
| - | If no // | + | |
| === Caveats === | === Caveats === | ||
| Line 52: | Line 62: | ||
| Each recipient will always receive TWO copies of each message -- one from the | Each recipient will always receive TWO copies of each message -- one from the | ||
| original sender, and a second from the dice server. | original sender, and a second from the dice server. | ||
| - | the **" | + | the " |
| - | will send the response //ONLY// to the " | + | |
| [[start|Back to start page]] | [[start|Back to start page]] | ||
dice_server.1198780725.txt.gz · Last modified: (external edit)
