Difference between revisions of "Nanobot modules"
imported>Wikiadmin (→Login) |
imported>Wikiadmin (→Translate) |
||
Line 47: | Line 47: | ||
== Translate == | == Translate == | ||
− | ;Description : | + | ;Description |
− | ;Commands : | + | :Module that gives the bot an interface to google translate. |
+ | :Parsing is done on raw data return, it should be done by an XML parser. | ||
+ | :As a result of this, when google changes a setting or how the results are returned, this module will break. | ||
+ | :''notes:'' | ||
+ | ::You will need a google translate API key for this module. | ||
+ | ::Language codes can be found [http://code.google.com/apis/language/translate/v2/using_rest.html#language-params here] | ||
+ | ;Commands | ||
+ | :'''help''': Shows available commands. | ||
+ | :'''to [lang-code] [text to translate]''': Translate text into specified language. | ||
+ | :'''detect [text]''': Detect the language of the specified text. | ||
;Source : [http://coolfire.insomnia247.nl/modules/translate.pm translate.pm] | ;Source : [http://coolfire.insomnia247.nl/modules/translate.pm translate.pm] | ||
− | |||
== Webchat == | == Webchat == |
Revision as of 14:29, 7 March 2011
Autovoice
- Description
- This module was created to voice everyone in a specific channel.
- This is the same functionality as !all voice, but not bound to $modchan.
- Commands
- none
- Source
- autovoice.pm
Demo
- Description
- Module to show the possible functionalities of a module and serve as a programming example.
- Commands
- help: Show available commands
- function [message]: Send a message back to the channel it was received from.
- listargs: Show a list of arguments the bot received.
- Source
- demo.pm
Identified
- Description
- This module will give voice to people who enter the channel and have identified with NickServ.
- This module was written for UnrealIRCd with Anope services. Different IRCd's and different services may require different commands or generate different responses.
- Commands
- help: Shows a brief description of the modules function.
- Source
- identified.pm
Kamikaze
- Description
- This is a module that allows users to kick someone at the price of also being kicked themself.
- Command
- help: Shows brief usage description of module.
- kick: Kick yourself and another user.
- Source
- kamikaze.pm
Kick-ban
- Description
- Simple module to preform a kickban.
- Command
- help: Shows brief usage of the module.
- kb [nick] [*@host]: Kickban a user.
- Source
- kickban.pm
Login
- Description
- Module to allow bot admins to log in with a password when at a remote location.
- Will add their current hostname to the admin list.
- Commands
- help: Shows usage of the module.
- login [password]: Add current host to the admin list.
- Source
- login.pm
Translate
- Description
- Module that gives the bot an interface to google translate.
- Parsing is done on raw data return, it should be done by an XML parser.
- As a result of this, when google changes a setting or how the results are returned, this module will break.
- notes:
- You will need a google translate API key for this module.
- Language codes can be found here
- Commands
- help: Shows available commands.
- to [lang-code] [text to translate]: Translate text into specified language.
- detect [text]: Detect the language of the specified text.
- Source
- translate.pm
Webchat
- Description
- Commands
- Source
- webchat.pm
Wget
- Description
- Commands
- Source
- wget.pm