Difference between revisions of "Nanobot modules"

From Insomnia 24/7 Wiki
Jump to: navigation, search
imported>Wikiadmin
(Kamikaze)
imported>Wikiadmin
 
(8 intermediate revisions by the same user not shown)
Line 4: Line 4:
 
:This is the same functionality as !all voice, but not bound to $modchan.
 
:This is the same functionality as !all voice, but not bound to $modchan.
  
;Commands : none
+
;Commands : ''none''
 
;Source : [http://coolfire.insomnia247.nl/modules/autovoice.pm autovoice.pm]
 
;Source : [http://coolfire.insomnia247.nl/modules/autovoice.pm autovoice.pm]
  
Line 11: Line 11:
 
;Commands
 
;Commands
 
:'''help''': Show available commands
 
:'''help''': Show available commands
:'''function''': Send a message back to the channel it was received from.
+
:'''function [message]''': Send a message back to the channel it was received from.
 
:'''listargs''': Show a list of arguments the bot received.
 
:'''listargs''': Show a list of arguments the bot received.
 
;Source : [http://coolfire.insomnia247.nl/modules/demo.pm demo.pm]
 
;Source : [http://coolfire.insomnia247.nl/modules/demo.pm demo.pm]
Line 20: Line 20:
 
:This module was written for UnrealIRCd with Anope services. Different IRCd's and different services may require different commands or generate different responses.
 
: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.
+
;Commands :'''help''': Shows a brief description of the modules function.
 
;Source : [http://coolfire.insomnia247.nl/modules/identified.pm identified.pm]
 
;Source : [http://coolfire.insomnia247.nl/modules/identified.pm identified.pm]
  
 
== Kamikaze ==
 
== Kamikaze ==
;Description : This is a module that allows users to kick someone at the price of also being kicked themselves.
+
;Description : This is a module that allows users to kick someone at the price of also being kicked themself.
 
;Command
 
;Command
 
:'''help''': Shows brief usage description of module.
 
:'''help''': Shows brief usage description of module.
Line 31: Line 31:
  
 
== Kick-ban ==
 
== Kick-ban ==
;Description :  
+
;Description : Simple module to preform a kickban.
;Command :  
+
;Command
 +
:'''help''': Shows brief usage of the module.
 +
:'''kb [nick] [*@host]''': Kickban a user.
 
;Source : [http://coolfire.insomnia247.nl/modules/kickban.pm kickban.pm]
 
;Source : [http://coolfire.insomnia247.nl/modules/kickban.pm kickban.pm]
 
  
 
== Login ==
 
== Login ==
;Description :  
+
;Description
;Commands :  
+
: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 : [http://coolfire.insomnia247.nl/modules/login.pm login.pm]
 
;Source : [http://coolfire.insomnia247.nl/modules/login.pm login.pm]
 
  
 
== Translate ==
 
== Translate ==
;Description :  
+
;Description
;Commands :  
+
: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 : [http://coolfire.insomnia247.nl/modules/translate.pm translate.pm]
 
;Source : [http://coolfire.insomnia247.nl/modules/translate.pm translate.pm]
 
  
 
== Webchat ==
 
== Webchat ==
;Description :  
+
;Description
;Commands :  
+
: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 : [http://coolfire.insomnia247.nl/modules/webchat.pm webchat.pm]
 
;Source : [http://coolfire.insomnia247.nl/modules/webchat.pm webchat.pm]
 
  
 
== 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