Difference between revisions of "Nanobot modules"
imported>Wikiadmin (→Webchat) |
imported>Wikiadmin |
||
(One intermediate revision by the same user not shown) | |||
Line 48: | Line 48: | ||
== Translate == | == Translate == | ||
;Description | ;Description | ||
− | :Module that gives the bot an interface to | + | :Module that gives the bot an interface to bing translate. |
− | : | + | : |
− | |||
:''notes:'' | :''notes:'' | ||
− | ::You will need a | + | ::You will need a Bing translate APP ID for this module. |
− | ::Language codes can be found [ | + | ::Language codes can be found here: [[Nanobot_translate]] |
;Commands | ;Commands | ||
:'''help''': Shows available commands. | :'''help''': Shows available commands. | ||
Line 70: | Line 69: | ||
== Wget == | == Wget == | ||
− | ;Description : | + | ;Description |
− | ;Commands : | + | :This module allows you to make the bot retreive a new or updated module from the internet and place it in it's modules directory. |
+ | :The returned result is the raw wget return status, so 0 mean everything went ok. | ||
+ | :See http://www.gnu.org/software/wget/manual/html_node/Exit-Status.html for more information on the return status. | ||
+ | :''notes:'' | ||
+ | ::Module names must end in .pm. Modules with other extentions will not be downloaded. | ||
+ | ;Commands | ||
+ | :'''help''': Shows brief usage for the module. | ||
+ | :'''file [url_to_module]''': Download file to host and place it in the modules directory. | ||
;Source : [http://coolfire.insomnia247.nl/modules/wget.pm wget.pm] | ;Source : [http://coolfire.insomnia247.nl/modules/wget.pm wget.pm] |
Latest revision as of 15:37, 25 December 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 bing translate.
- notes:
- You will need a Bing translate APP ID for this module.
- Language codes can be found here: Nanobot_translate
- 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
- Module that translates the username from hex to a human readable IPv4 address.
- This type of username is commonly used by webbased IRC clients like mibbit and CGI:IRC.
- Commands
- help: Shows brief usage of the module.
- dehex: Attempt to translate HEX'ed IP address into human readable form. Example: 1234ABCD translates to 18.52.171.205
- Source
- webchat.pm
Wget
- Description
- This module allows you to make the bot retreive a new or updated module from the internet and place it in it's modules directory.
- The returned result is the raw wget return status, so 0 mean everything went ok.
- See http://www.gnu.org/software/wget/manual/html_node/Exit-Status.html for more information on the return status.
- notes:
- Module names must end in .pm. Modules with other extentions will not be downloaded.
- Commands
- help: Shows brief usage for the module.
- file [url_to_module]: Download file to host and place it in the modules directory.
- Source
- wget.pm