From 5146e9f10c914586cbdb84ef14df769418e252b7 Mon Sep 17 00:00:00 2001 From: Valentin Lorentz Date: Sat, 29 Oct 2011 13:19:46 +0200 Subject: [PATCH] Fix hierarchy (and compilation warnings) for many plugins. --- use/plugins/anonymous.rst | 3 ++ use/plugins/badwords.rst | 3 ++ use/plugins/brainfuck.rst | 3 ++ use/plugins/channelstats.rst | 5 +- use/plugins/ctcp.rst | 3 ++ use/plugins/debian.rst | 10 ++-- use/plugins/dict.rst | 3 ++ use/plugins/erepublik.rst | 3 ++ use/plugins/eureka.rst | 86 +++++++++++++++++--------------- use/plugins/github.rst | 6 +++ use/plugins/goodfrench.rst | 3 ++ use/plugins/internet.rst | 3 ++ use/plugins/lart.rst | 3 ++ use/plugins/later.rst | 3 ++ use/plugins/linkrelay.rst | 84 ++++++++++++++++--------------- use/plugins/megahal.rst | 29 ----------- use/plugins/nickometer.rst | 3 ++ use/plugins/plugindownloader.rst | 3 ++ use/plugins/praise.rst | 3 ++ use/plugins/quote.rst | 3 ++ use/plugins/relay.rst | 21 ++++---- use/plugins/reply.rst | 3 ++ use/plugins/scheduler.rst | 3 ++ use/plugins/seeks.rst | 3 ++ use/plugins/seen.rst | 3 ++ use/plugins/shrinkurl.rst | 3 ++ use/plugins/status.rst | 3 ++ use/plugins/sudo.rst | 3 ++ use/plugins/supyml.rst | 3 ++ use/plugins/supysandbox.rst | 17 ++----- use/plugins/timebomb.rst | 3 ++ use/plugins/trivia.rst | 3 ++ use/plugins/twitter.rst | 64 +++++++++++++----------- use/plugins/url.rst | 3 ++ use/plugins/utilities.rst | 48 ++++++++++-------- use/plugins/wikitrans.rst | 3 ++ 36 files changed, 261 insertions(+), 187 deletions(-) delete mode 100644 use/plugins/megahal.rst diff --git a/use/plugins/anonymous.rst b/use/plugins/anonymous.rst index 3bcb7b8..ed8e0b9 100644 --- a/use/plugins/anonymous.rst +++ b/use/plugins/anonymous.rst @@ -4,6 +4,9 @@ The Anonymous plugin ==================== +Commands +-------- + .. _command-channel-do: do diff --git a/use/plugins/badwords.rst b/use/plugins/badwords.rst index 22efd3c..100aeb5 100644 --- a/use/plugins/badwords.rst +++ b/use/plugins/badwords.rst @@ -4,6 +4,9 @@ The BadWords plugin =================== +Commands +-------- + .. _command-channel-list: list diff --git a/use/plugins/brainfuck.rst b/use/plugins/brainfuck.rst index efb6583..3758e4b 100644 --- a/use/plugins/brainfuck.rst +++ b/use/plugins/brainfuck.rst @@ -4,6 +4,9 @@ The Brainfuck plugin ==================== +Commands +-------- + .. _command-brainfuck-brainfuck: brainfuck brainfuck [--recover] [--input ] diff --git a/use/plugins/channelstats.rst b/use/plugins/channelstats.rst index beb339d..c261066 100644 --- a/use/plugins/channelstats.rst +++ b/use/plugins/channelstats.rst @@ -4,6 +4,9 @@ The ChannelStats plugin ======================= +Commands +-------- + .. _command-channelstats-stats: channelstats stats [] [] @@ -44,7 +47,7 @@ Configuration supybot.plugins.ChannelStats.frowns ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -Default value: [':|', ':-/', ':-\\', ':\\', ':/', ':(', ':-(', ":'("] +Default value: [':\|', ':-/', ':-\\', ':\\', ':/', ':(', ':-(', ":'("] Determines what words (i.e., pieces of text with no spaces in them ) are considered 'frowns' for the purposes of stats-keeping. diff --git a/use/plugins/ctcp.rst b/use/plugins/ctcp.rst index ca90a3b..473ccfc 100644 --- a/use/plugins/ctcp.rst +++ b/use/plugins/ctcp.rst @@ -4,6 +4,9 @@ The Ctcp plugin =============== +Command +------- + .. _command-ctcp-version: ctcp version [] [--nicks] diff --git a/use/plugins/debian.rst b/use/plugins/debian.rst index ad6b199..0d8d0c0 100644 --- a/use/plugins/debian.rst +++ b/use/plugins/debian.rst @@ -4,12 +4,8 @@ The Debian plugin ================= -.. _command-debian-bold: - -debian bold -^^^^^^^^^^^ - - +Commands +-------- .. _command-debian-file: @@ -42,7 +38,7 @@ debian incoming [--{regexp,arch} ] [ ...] Checks debian incoming for a matching package name. The arch parameter defaults to i386; *--regexp* returns only those package names -that match a given regexp, and normal matches use standard *nix +that match a given regexp, and normal matches use standard \*nix globbing. .. _command-debian-version: diff --git a/use/plugins/dict.rst b/use/plugins/dict.rst index 8bae6a4..b07eb52 100644 --- a/use/plugins/dict.rst +++ b/use/plugins/dict.rst @@ -4,6 +4,9 @@ The Dict plugin =============== +Commands +-------- + .. _command-dict-synonym: dict synonym [ ...] diff --git a/use/plugins/erepublik.rst b/use/plugins/erepublik.rst index dabbe99..87940b4 100644 --- a/use/plugins/erepublik.rst +++ b/use/plugins/erepublik.rst @@ -4,6 +4,9 @@ The ERepublik plugin ==================== +Commands +-------- + .. _command-erepublik-info: erepublik info diff --git a/use/plugins/eureka.rst b/use/plugins/eureka.rst index da82128..e511f53 100644 --- a/use/plugins/eureka.rst +++ b/use/plugins/eureka.rst @@ -4,29 +4,17 @@ The Eureka plugin ================= -.. _command-eureka-adjust: +Start and stop +-------------- -eureka adjust [] -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +.. _command-eureka-start: -Increase or decrease the score of ** on the **. -If ** is not given, it defaults to the current channel. +eureka start [] +^^^^^^^^^^^^^^^^^^^^^^^^ -.. _command-eureka-resume: - -eureka resume [] -^^^^^^^^^^^^^^^^^^^^^^^^^ - -Resume the Eureka on the given **. If ** is not given, +Start the Eureka on the given **. If ** is not given, it defaults to the current channel. -.. _command-eureka-skip: - -eureka skip [] -^^^^^^^^^^^^^^^^^^^^^^^ - -Give up with this question, and switch to the next one. - .. _command-eureka-stop: eureka stop [] @@ -35,21 +23,6 @@ eureka stop [] Stop the Eureka on the given **. If ** is not given, it defaults to the current channel. -.. _command-eureka-clue: - -eureka clue [] -^^^^^^^^^^^^^^^^^^^^^^^ - -Give the next clue. - -.. _command-eureka-scores: - -eureka scores [] -^^^^^^^^^^^^^^^^^^^^^^^^^ - -Return the scores on the **. If ** is not given, it -defaults to the current channel. - .. _command-eureka-pause: eureka pause [] @@ -58,14 +31,50 @@ eureka pause [] Pause the Eureka on the given **. If ** is not given, it defaults to the current channel. -.. _command-eureka-start: +.. _command-eureka-resume: -eureka start [] -^^^^^^^^^^^^^^^^^^^^^^^^ +eureka resume [] +^^^^^^^^^^^^^^^^^^^^^^^^^ -Start the Eureka on the given **. If ** is not given, +Resume the Eureka on the given **. If ** is not given, it defaults to the current channel. +Moderation +---------- + +.. _command-eureka-adjust: + +eureka adjust [] +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +Increase or decrease the score of ** on the **. +If ** is not given, it defaults to the current channel. + +.. _command-eureka-skip: + +eureka skip [] +^^^^^^^^^^^^^^^^^^^^^^^ + +Give up with this question, and switch to the next one. + +.. _command-eureka-clue: + +eureka clue [] +^^^^^^^^^^^^^^^^^^^^^^^ + +Give the next clue. + +Scores +------ + +.. _command-eureka-scores: + +eureka scores [] +^^^^^^^^^^^^^^^^^^^^^^^^^ + +Return the scores on the **. If ** is not given, it +defaults to the current channel. + .. _command-eureka-score: eureka score [] @@ -87,9 +96,6 @@ supybot.plugins.Eureka.format ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - - - .. _supybot.plugins.Eureka.format.score: supybot.plugins.Eureka.format.score diff --git a/use/plugins/github.rst b/use/plugins/github.rst index fe33192..bac7a24 100644 --- a/use/plugins/github.rst +++ b/use/plugins/github.rst @@ -4,6 +4,9 @@ The GitHub plugin ================= +Main commands +------------- + .. _command-github-repo-info: github repo info [--enable ...] [--disable ] @@ -22,6 +25,9 @@ Searches the string in the repository names database. You can specify the page ** of the results, and restrict the search to a particular programming **. +Announces +--------- + .. _command-github-announce-remove: github announce remove [] diff --git a/use/plugins/goodfrench.rst b/use/plugins/goodfrench.rst index dc0c003..c16d0b7 100644 --- a/use/plugins/goodfrench.rst +++ b/use/plugins/goodfrench.rst @@ -4,6 +4,9 @@ The GoodFrench plugin ===================== +Command +------- + .. _command-goodfrench-detect: goodfrench detect diff --git a/use/plugins/internet.rst b/use/plugins/internet.rst index 97c90f1..7a91045 100644 --- a/use/plugins/internet.rst +++ b/use/plugins/internet.rst @@ -4,6 +4,9 @@ The Internet plugin =================== +Commands +-------- + .. _command-internet-whois: internet whois diff --git a/use/plugins/lart.rst b/use/plugins/lart.rst index 3f55a3f..b7d5b57 100644 --- a/use/plugins/lart.rst +++ b/use/plugins/lart.rst @@ -4,6 +4,9 @@ The Lart plugin =============== +Command +------- + .. _command-lart-lart: lart lart [] [] [for ] diff --git a/use/plugins/later.rst b/use/plugins/later.rst index c689929..299bca1 100644 --- a/use/plugins/later.rst +++ b/use/plugins/later.rst @@ -4,6 +4,9 @@ The Later plugin ================ +Commands +-------- + .. _command-later-notes: later notes [] diff --git a/use/plugins/linkrelay.rst b/use/plugins/linkrelay.rst index adcc250..4882a32 100644 --- a/use/plugins/linkrelay.rst +++ b/use/plugins/linkrelay.rst @@ -4,6 +4,51 @@ The LinkRelay plugin ==================== +Manage relays +------------- + +.. _command-linkrelay-add: + +linkrelay add [--from @] [--to @] [--regexp ] [--reciprocal] +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +Adds a relay to the list. You must give at least *--from* or *--to;* if +one of them is not given, it defaults to the current channel@network. +Only messages matching ** will be relayed; if ** is not +given, everything is relayed. +If *--reciprocal* is given, another relay will be added automatically, +in the opposite direction. + +.. _command-linkrelay-remove: + +linkrelay remove [--from @] [--to @] [--regexp ] [--reciprocal] +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +Remove a relay from the list. You must give at least *--from* or *--to;* if +one of them is not given, it defaults to the current channel@network. +Only messages matching ** will be relayed; if ** is not +given, everything is relayed. +If *--reciprocal* is given, another relay will be removed automatically, +in the opposite direction. + +.. _command-linkrelay-list: + +linkrelay list +^^^^^^^^^^^^^^ + +Returns all the defined relay links + +Substitutes +----------- + +.. _command-linkrelay-substitute: + +linkrelay substitute +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +Replaces all nicks that matches the ** by the ** +string. + .. _command-linkrelay-nosubstitute: linkrelay nosubstitute @@ -20,45 +65,6 @@ Returns the nicks of the people in the linked channels. ** is only necessary if the message isn't sent on the channel itself. -.. _command-linkrelay-list: - -linkrelay list -^^^^^^^^^^^^^^ - -Returns all the defined relay links - -.. _command-linkrelay-remove: - -linkrelay remove [--from @] [--to @] [--regexp ] [--reciprocal] -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - -Remove a relay from the list. You must give at least *--from* or *--to;* if -one of them is not given, it defaults to the current channel@network. -Only messages matching ** will be relayed; if ** is not -given, everything is relayed. -If *--reciprocal* is given, another relay will be removed automatically, -in the opposite direction. - -.. _command-linkrelay-add: - -linkrelay add [--from @] [--to @] [--regexp ] [--reciprocal] -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - -Adds a relay to the list. You must give at least *--from* or *--to;* if -one of them is not given, it defaults to the current channel@network. -Only messages matching ** will be relayed; if ** is not -given, everything is relayed. -If *--reciprocal* is given, another relay will be added automatically, -in the opposite direction. - -.. _command-linkrelay-substitute: - -linkrelay substitute -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - -Replaces all nicks that matches the ** by the ** -string. - .. _plugin-linkrelay-config: diff --git a/use/plugins/megahal.rst b/use/plugins/megahal.rst deleted file mode 100644 index 1b72007..0000000 --- a/use/plugins/megahal.rst +++ /dev/null @@ -1,29 +0,0 @@ - -.. _plugin-megahal: - -The MegaHAL plugin -================== - -Provides an interface to the MegaHAL chatterbot. - -.. WARNING:: - - This plugin is **highly** deprecated and unstable. - - It may cause your bot to randomly uppercase some letters, and you'll - have to restart it to make it stop (temporaly). - This is particulary annoying, and you won't be able to identify, - because it uppercases letters in your password. - More over, only this bug has been noticed, but it may cause security - issues with your bot. - - You shouldn't use it at all. - -.. include:: unofficial.inc - -.. _command-megahal-clean: - -clean -^^^^^ - -Saves MegaHAL brain to disk. diff --git a/use/plugins/nickometer.rst b/use/plugins/nickometer.rst index 4630a10..76dddbe 100644 --- a/use/plugins/nickometer.rst +++ b/use/plugins/nickometer.rst @@ -4,6 +4,9 @@ The Nickometer plugin ===================== +Command +------- + .. _command-nickometer-nickometer: nickometer nickometer [] diff --git a/use/plugins/plugindownloader.rst b/use/plugins/plugindownloader.rst index 67045a5..87a4fce 100644 --- a/use/plugins/plugindownloader.rst +++ b/use/plugins/plugindownloader.rst @@ -4,6 +4,9 @@ The PluginDownloader plugin =========================== +Commands +-------- + .. _command-plugindownloader-install: plugindownloader install diff --git a/use/plugins/praise.rst b/use/plugins/praise.rst index 4aa931a..0f04330 100644 --- a/use/plugins/praise.rst +++ b/use/plugins/praise.rst @@ -4,6 +4,9 @@ The Praise plugin ================= +Command +------- + .. _command-praise-praise: praise praise [] [] [for ] diff --git a/use/plugins/quote.rst b/use/plugins/quote.rst index 867eab3..ebd15e2 100644 --- a/use/plugins/quote.rst +++ b/use/plugins/quote.rst @@ -4,6 +4,9 @@ The Quote plugin ================ +Command +------- + .. _command-quote-random: quote random [] diff --git a/use/plugins/relay.rst b/use/plugins/relay.rst index df1db9e..2a3af3f 100644 --- a/use/plugins/relay.rst +++ b/use/plugins/relay.rst @@ -4,6 +4,9 @@ The Relay plugin ================ +Commands +-------- + .. _command-relay-nicks: relay nicks [] @@ -13,15 +16,6 @@ Returns the nicks of the people in the channel on the various networks the bot is connected to. ** is only necessary if the message isn't sent on the channel itself. -.. _command-relay-part: - -relay part -^^^^^^^^^^^^^^^^^^^^ - -Ceases relaying between the channel ** on all networks. The bot -will part from the channel on all networks in which it is on the -channel. - .. _command-relay-join: relay join [] @@ -34,6 +28,15 @@ relay between those channels unless he's told to join both channels. If ** is not given, starts relaying on the channel the message was sent in. +.. _command-relay-part: + +relay part +^^^^^^^^^^^^^^^^^^^^ + +Ceases relaying between the channel ** on all networks. The bot +will part from the channel on all networks in which it is on the +channel. + .. _plugin-relay-config: diff --git a/use/plugins/reply.rst b/use/plugins/reply.rst index 29697a6..58948ba 100644 --- a/use/plugins/reply.rst +++ b/use/plugins/reply.rst @@ -4,6 +4,9 @@ The Reply plugin ================ +Commands +-------- + .. _command-reply-notice: reply notice diff --git a/use/plugins/scheduler.rst b/use/plugins/scheduler.rst index 2b3db98..eda1b16 100644 --- a/use/plugins/scheduler.rst +++ b/use/plugins/scheduler.rst @@ -4,6 +4,9 @@ The Scheduler plugin ==================== +Commands +-------- + .. _command-scheduler-repeat: scheduler repeat diff --git a/use/plugins/seeks.rst b/use/plugins/seeks.rst index fbf09a2..c1d896e 100644 --- a/use/plugins/seeks.rst +++ b/use/plugins/seeks.rst @@ -4,6 +4,9 @@ The Seeks plugin ================ +Command +------- + .. _command-seeks-search: seeks search diff --git a/use/plugins/seen.rst b/use/plugins/seen.rst index 7dd93e6..f799bd4 100644 --- a/use/plugins/seen.rst +++ b/use/plugins/seen.rst @@ -4,6 +4,9 @@ The Seen plugin =============== +Commands +-------- + .. _command-seen-user: seen user [] diff --git a/use/plugins/shrinkurl.rst b/use/plugins/shrinkurl.rst index 0a8e4dc..67e5bfe 100644 --- a/use/plugins/shrinkurl.rst +++ b/use/plugins/shrinkurl.rst @@ -4,6 +4,9 @@ The ShrinkUrl plugin ==================== +Commands +-------- + .. _command-shrinkurl-xrl: shrinkurl xrl diff --git a/use/plugins/status.rst b/use/plugins/status.rst index d13277b..238954c 100644 --- a/use/plugins/status.rst +++ b/use/plugins/status.rst @@ -4,6 +4,9 @@ The Status plugin ================= +Commands +-------- + .. _command-status-status: status status diff --git a/use/plugins/sudo.rst b/use/plugins/sudo.rst index 1285bec..dce1d43 100644 --- a/use/plugins/sudo.rst +++ b/use/plugins/sudo.rst @@ -4,6 +4,9 @@ The Sudo plugin =============== +Commands +-------- + .. _command-sudo-sudo: sudo sudo [ [ ...]] diff --git a/use/plugins/supyml.rst b/use/plugins/supyml.rst index 57abd06..78a56f3 100644 --- a/use/plugins/supyml.rst +++ b/use/plugins/supyml.rst @@ -4,6 +4,9 @@ The SupyML plugin ================= +Command +------- + .. _command-supyml-eval: supyml eval [--warnings] diff --git a/use/plugins/supysandbox.rst b/use/plugins/supysandbox.rst index f8f2423..65897a4 100644 --- a/use/plugins/supysandbox.rst +++ b/use/plugins/supysandbox.rst @@ -4,22 +4,15 @@ The SupySandbox plugin ====================== +Command +------- + .. _command-supysandbox-sandbox: supysandbox sandbox +^^^^^^^^^^^^^^^^^^^^^^^^^^ - Runs Python code safely thanks to pysandbox -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - - - -.. _command-supysandbox-runtests: - -supysandbox runtests -^^^^^^^^^^^^^^^^^^^^ - - - +Runs Python code safely thanks to pysandbox .. _plugin-supysandbox-config: diff --git a/use/plugins/timebomb.rst b/use/plugins/timebomb.rst index f77b14d..6f412a9 100644 --- a/use/plugins/timebomb.rst +++ b/use/plugins/timebomb.rst @@ -8,6 +8,9 @@ The timebomb game. .. include:: unofficial.inc +Commands +-------- + .. _command-timebomb-cutwire: timebomb cutwire diff --git a/use/plugins/trivia.rst b/use/plugins/trivia.rst index 792af5d..bb67f05 100644 --- a/use/plugins/trivia.rst +++ b/use/plugins/trivia.rst @@ -8,6 +8,9 @@ The trivia game. .. include:: unofficial.inc +Command +------- + .. _command-trivia-strivia: trivia strivia [] diff --git a/use/plugins/twitter.rst b/use/plugins/twitter.rst index 11a806c..a17b1bc 100644 --- a/use/plugins/twitter.rst +++ b/use/plugins/twitter.rst @@ -4,31 +4,8 @@ The Twitter plugin ================== -.. _command-twitter-friendslist: - -twitter friendslist [] [] -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - -Replies with the friends (i.e. people who one subscribes to) of the -**. If ** is not given, it defaults to the **'s account. -If ** is not given, it defaults to the current channel. - -.. _command-twitter-unfollow: - -twitter unfollow [] -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - -Unfollow a specified ** -If ** is not given, it defaults to the current channel. - -.. _command-twitter-replies: - -twitter replies [] [--since ] -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - -Replies with the replies timeline. -If ** is not given, it defaults to the current channel. -If given, *--since* takes a tweet ID, used as a boundary +Tweets +-------- .. _command-twitter-timeline: @@ -44,13 +21,14 @@ If given, *--count* takes an integer, that stands for the number of tweets to display. If *--noretweet* is given, only native user's tweet will be displayed. -.. _command-twitter-follow: +.. _command-twitter-replies: -twitter follow [] -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +twitter replies [] [--since ] +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -Follow a specified ** +Replies with the replies timeline. If ** is not given, it defaults to the current channel. +If given, *--since* takes a tweet ID, used as a boundary .. _command-twitter-post: @@ -78,6 +56,34 @@ twitter delete [] Delete a specified status with id ** If ** is not given, it defaults to the current channel. +Friends +------- + +.. _command-twitter-friendslist: + +twitter friendslist [] [] +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +Replies with the friends (i.e. people who one subscribes to) of the +**. If ** is not given, it defaults to the **'s account. +If ** is not given, it defaults to the current channel. + +.. _command-twitter-unfollow: + +twitter unfollow [] +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +Unfollow a specified ** +If ** is not given, it defaults to the current channel. + +.. _command-twitter-follow: + +twitter follow [] +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +Follow a specified ** +If ** is not given, it defaults to the current channel. + .. _plugin-twitter-config: diff --git a/use/plugins/url.rst b/use/plugins/url.rst index 50b1335..4828087 100644 --- a/use/plugins/url.rst +++ b/use/plugins/url.rst @@ -4,6 +4,9 @@ The URL plugin ============== +Commands +-------- + .. _command-url-stats: url stats [] diff --git a/use/plugins/utilities.rst b/use/plugins/utilities.rst index b8894dc..94930ba 100644 --- a/use/plugins/utilities.rst +++ b/use/plugins/utilities.rst @@ -4,6 +4,26 @@ The Utilities plugin ==================== +Random +------ + +.. _command-utilities-shuffle: + +utilities shuffle [ ...] +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +Shuffles the arguments given. + +.. _command-utilities-sample: + +utilities sample [ ...] +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +Randomly chooses ** items out of the arguments given. + +Programming/nesting +------------------- + .. _command-utilities-ignore: utilities ignore requires no arguments @@ -12,13 +32,6 @@ utilities ignore requires no arguments Does nothing. Useful sometimes for sequencing commands when you don't care about their non-error return values. -.. _command-utilities-shuffle: - -utilities shuffle [ ...] -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - -Shuffles the arguments given. - .. _command-utilities-success: utilities success [] @@ -40,13 +53,6 @@ string(s) given to it; $nick (or $who), $randomNick, $randomInt, $botnick, $channel, $user, $host, $today, $now, and $randomDate are all handled appropriately. -.. _command-utilities-sample: - -utilities sample [ ...] -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - -Randomly chooses ** items out of the arguments given. - .. _command-utilities-countargs: utilities countargs [ ...] @@ -54,6 +60,13 @@ utilities countargs [ ...] Counts the arguments given. +.. _command-utilities-apply: + +utilities apply +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +Tokenizes ** and calls ** with the resulting arguments. + .. _command-utilities-last: utilities last [ ...] @@ -63,13 +76,6 @@ Returns the last argument given. Useful when you'd like multiple nested commands to run, but only the output of the last one to be returned. -.. _command-utilities-apply: - -utilities apply -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - -Tokenizes ** and calls ** with the resulting arguments. - .. _plugin-utilities-config: diff --git a/use/plugins/wikitrans.rst b/use/plugins/wikitrans.rst index fe0d549..83900a4 100644 --- a/use/plugins/wikitrans.rst +++ b/use/plugins/wikitrans.rst @@ -4,6 +4,9 @@ The WikiTrans plugin ==================== +Command +------- + .. _command-wikitrans-translate: wikitrans translate