Polly's Command List

version 2.5
Commands are given to Polly in one of two ways:
  1. /say polly, cmd: <command> [arguments, if any]
  2. /msg polly <command> [arguments, if any]
To ask Polly for a sentence you can:
  1. /say polly: [expression]
    Polly will spew a random sentence containing the word(s) that match the regular [expression]
  2. /say polly, [first word | ^] [second word | $]
  3. /msg polly [first word | ^] [second word | $]
Polly will spew a random sentence, starting with second word if the first word is a ^, or ending with first word if second word is a $, or the sentence will contain the word specified. (If two are given, they will be together [if possible] in the sentence.) If no words are specified, Polly will just spew a random sentence. Polly will not create one word sentences, so asking for a sentence with things like 'hehe' will not give you the results you desired. For some other Polly fun, try the Word Lister (lists all the words entered by a certain nick), the Word Tree (will display all the connections for a given word), Spew (will display a random sentence), or the RegEx Word Search. Also, The List of number of words added gets updated nightly (with the dictionary update.)

Command/Deffination Example
firstuse <first word> [second word]
  Polly will give it's best approximation as to what the original phrase was that contained the <first word>, (or the phrase conataining "<first word> [second word]"). <td0> polly, cmd: firstuse gay
<polly> The best I can determine, 'gay' was first used in the phrase: that's gay.
...
<td0> polly, cmd: firstuse liquid soap
<polly> The best I can determine, 'liquid soap' was first used in the phrase: enjoys liquid soap.
forceremove <word>
  This goes through the dictionary and removes every instance of the word. It is mainly for messed up associations. <The_Phog> Don't use the forceremove command.
hashstats
  Polly will show you some statistics on it's hash table. <td0> polly, cmd: hashstats
<polly> My hash table has had 2076 hits in 3495 attempts (59.40%). My word hash table results in 0.91 comparisons for each word lookup (1419 lookups resulted in 1291 string comparisons).
help
  Polly will point you to this web page. <td0> polly, cmd: help
<polly> A list of my commands is available at http://www.geeks.org/~tdo/polly.html.
loud
  Polly will now say some random sentence after every 10-15 public sayings of other people on the channel. (removed) <td0> polly, cmd: loud
<polly> Ok td0, I'll speak now.
<The_Phog> It doesn't do anything in this one... Polly never spews without a request now
mostcommon
  Polly will say what the most common words in the dictionary, and some stats about them. <td0> polly, cmd: mostcommon
<polly> The word that starts the most sentences is 'i'. The word that most commonly follows other words is 'the'. The word that most commonly precedes other words is 'i'. The word that ends the most sentences is 'hehe'.
mostunique
  Polly will say what the most unique word to follow other words, and precede other words in the dictionary. <td0> polly, cmd: mostcommon
<polly> The word that follows the most other unique words is 'and'. The word that precedes the most other unique words is 'the'.
mostwords
  Polly shows who has added the most words to the dictionary, and how many they have added. <td0> polly, cmd: mostwords
<polly> The most new words (4049) have been introduced by cshepherd.
nickstats
  Polly shows the number of nicks it knows about. <td0> polly, cmd: nickstats
<polly> I know 122 nicks.
nobegin <word>
  Removes the ability for the specified word to be at the begining of a sentence. <td0> aabb ccdd
<td0> polly, cmd: nobegin aabb
<polly> Removed "aabb" as a sentence beginning.
<td0> polly, cmd: noend ccdd
<polly> Removed "ccdd" as a sentence ending.
noend <word>
  Removes the ability for the specified word to be at the end of a sentence. <td0> aabb ccdd
<td0> polly, cmd: nobegin aabb
<polly> Removed "aabb" as a sentence beginning.
<td0> polly, cmd: noend ccdd
<polly> Removed "ccdd" as a sentence ending.
nummatches <expression>
  Polly tells you how many words match the <expression>. <td0> polly, cmd: nummatches ^<?.*kent.*>?$
<polly> A total of 70 words match the regular expression ^<?.*kent.*>?$.
numwords <nick>
  Polly tells you how many words <nick> has contributed to the dictionary. <td0> polly, cmd: numwords cshepherd
<polly> A total of 4049 words have been introduced by cshepherd.
phrasestats <first word> <second word>
  Polly will display stats similar to those displayed by wordstats for the given two word phrase. <td0> polly, cmd: phrasestats gay dad
<polly> The word pair 'gay dad' has started 1 sentences, ended 6 sentences, preceded 3 words, and followed 8 words.
quiet
  Polly will no longer say a random sentence after every 10-15 public sayings. (removed) <td0> polly, cmd: quiet
<polly> Ok td0, I'll be quiet now.
<The_Phog> It doesn't do anything in this one... Polly never spews without a request now
regex <expression> [number]
  Polly will tell you (up to ten) of the the words that match the <expression>. If a [number] is supplied, polly will start at that number instead of number 1. <td0> polly, cmd: regex ^[)>]?[:;\=][+-]?[][|()<>]$
<polly> Words that match '^[)>]?[:;\=][+-]?[][|()<>]$' are: :), ;), :-), :(, ;-), =), ):+), =]
remove <word>
  Removes the word from the dictionary. (Use this one not forceremove). <td0> aabb ccdd
<td0> polly, cmd: remove aabb
<polly> Removed "aabb" from the dictionary.
<td0> polly, cmd: remove ccdd
<polly> Removed "ccdd" from the dictionary.
rename <old word> <new word>
  Renames a word that was a typo. <td0> polly, cmd: rename tyop typo
<polly> Renamed word "tyop" to "typo".
renamenick <old nick> <new nick>
  Renames a nick-name. <tdo> polly, cmd: renamenick td0 tdo
<polly> Renamed nick "td0" to "tdo".
split <multi-word> <first word> <second word>
  Polly will split <multi-word> into <first word> and <second word>. * td0 is tiredof typing &lt; and &gt;
<td0> polly, cmd: split tiredof tired of
<poll>> Split word "tiredof" into "tired" and "of".
stats
  Prints the stats for Polly, i.e. how many words he knows, and the average number of connections between words at the differnet levels. <td0> polly, cmd: stats
<polly> I know 32315 words, with an average of 5.96 unique and 16.06 total word pairs and 2.69 second-level connections.
unassociate <first word> <second word>
  Removes an association between <first word> and <second word> (and every second level connected to <second word>). <td0> what's the the news jsan?
<td0> polly, cmd: unassociate the the
<polly> Removed association between "the" and "the".
version
  Polly will display his version. <td0> polly, cmd: version
<polly> This is version 2.2 of Polly.
whosaid <word>
  Polly will inform you of who was the first person on the channel to coin a term, (according to him). <td0> polly, cmd: whosaid percentage
<polly> The first person to say 'percentage' was "ksquires".
wordnum <number>
  Polly will give the word that's number <number>. <td0> polly, cmd: wordnum 31337
<polly> Word 31337 is "*z33k*".
wordstats <word>
  Prints the stats for the specified word. How many sentences it starts and ends, and how many words is precedes and follows. <td0> polly, cmd: wordstats *z33k*
<polly> The word '*z33k*' has started 0 sentences, ended 0 sentences, preceded 2 words (2 unique), and followed 2 words (2 unique). It is word number 31337.