Differences
This shows you the differences between two versions of the page.
Next revision | Previous revisionNext revisionBoth sides next revision | ||
module:ircbot [2012/01/16 15:49] – created digitalman | module:ircbot [2019/04/24 12:29] – Removed the IRC log (placeholder documentation) from the top of the page. ecbbs | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== | + | ====== |
+ | |||
+ | **Installation** | ||
+ | |||
+ | The IRC bot is included with Synchronet BBS, at '' | ||
+ | |||
+ | **Configuration** | ||
+ | |||
+ | The IRC bot configuration file is '' | ||
+ | |||
+ | < | ||
+ | [server_ServerName] | ||
+ | addresses=add.ress.one, | ||
+ | nick=BotNickname | ||
+ | services_password=? | ||
+ | channels=# | ||
+ | port=6667 | ||
+ | </ | ||
+ | |||
+ | // | ||
+ | - If you are running the Synchronet ircd, you can connect the bot to localhost, 127.0.0.1, or the specific interface that the ircd binds to as configured in '' | ||
+ | - You may place more than one server section in '' | ||
+ | |||
+ | **Modules** | ||
+ | There are a number of modules available for the IRC bot, but they are not all enabled (or listed) in '' | ||
+ | |||
+ | < | ||
+ | [module_ModuleName] | ||
+ | channels=# | ||
+ | dir=/ | ||
+ | lib=mylib.js | ||
+ | global=true | ||
+ | </ | ||
+ | |||
+ | Looking at the '' | ||
+ | |||
+ | < | ||
+ | |||
+ | ; | ||
+ | ; | ||
+ | |||
+ | [module_Admin] | ||
+ | global=true | ||
+ | dir=/ | ||
+ | |||
+ | [module_Antispam] | ||
+ | global=true | ||
+ | dir=/ | ||
+ | |||
+ | [module_Decider] | ||
+ | global=true | ||
+ | dir=/ | ||
+ | |||
+ | [module_Dice] | ||
+ | global=true | ||
+ | dir=/ | ||
+ | |||
+ | [module_Dis] | ||
+ | dir=/ | ||
+ | |||
+ | ; | ||
+ | ; | ||
+ | ; | ||
+ | |||
+ | [module_Ham] | ||
+ | dir=/ | ||
+ | |||
+ | [module_Humanity] | ||
+ | dir=/ | ||
+ | |||
+ | [module_Info] | ||
+ | global=true | ||
+ | dir=/ | ||
+ | lib=http.js | ||
+ | |||
+ | [module_Poker] | ||
+ | dir=/ | ||
+ | lib=cardlib.js | ||
+ | |||
+ | [module_Presence] | ||
+ | dir=/ | ||
+ | |||
+ | [module_Weather] | ||
+ | global=true | ||
+ | dir=/ | ||
+ | lib=http.js | ||
+ | |||
+ | [module_WhereIs] | ||
+ | global=true | ||
+ | dir=/ | ||
+ | lib=http.js | ||
+ | |||
+ | [module_RPG] | ||
+ | dir=/ | ||
+ | </ | ||
+ | |||
+ | //Notes// | ||
+ | - Google seems to have some file dependencies and doesn' | ||
+ | - No trivia directory although it is listed in the ini file. | ||
+ | - Otherwise, by adding the modules to the ini and restarting the bot you may make these available in your ircd. | ||
+ | |||
+ | |||
+ | **Running the IRC Bot** | ||
+ | |||
+ | The IRC bot can be executed via [[: | ||
+ | |||
+ | You can also run the IRC bot via your services thread by adding an entry to [[: | ||
+ | |||
+ | < | ||
+ | [IRCBot] | ||
+ | Port=6668 | ||
+ | Options=STATIC|LOOP | ||
+ | Command=ircbot.js | ||
+ | </ | ||
+ | |||
+ | Note that the //Port// value must be supplied, but is irrelevant; the bot does not listen for connections. | ||
+ | |||
+ | You can add '' | ||
+ | |||
+ | |||
+ | **Using the IRC Bot** | ||
+ | |||
+ | - See the help menu by sending **/msg < | ||
+ | - Some commands are restricted and will not show up in the help menu (or be usable), until you have identified yourself to the bot. To identify, use **/msg < | ||
+ | |||
+ | Without **IDENT** the help looks like; | ||
+ | |||
+ | < | ||
+ | Usage: HELP < | ||
+ | [main] help,?, | ||
+ | [admin] whois, | ||
+ | [antispam] | ||
+ | [decider] should | ||
+ | [dice] roll,dice | ||
+ | [dis] quote,dis | ||
+ | [ham] specs, | ||
+ | [humanity] humanity, | ||
+ | [info] def, | ||
+ | [poker] deal, | ||
+ | [presence] nodelist | ||
+ | [weather] weather, | ||
+ | [whereis] whereis | ||
+ | [rpg] create, | ||
+ | editor commands: set, link, unlink, move, mobs, items, exits, title, desc, goto, look | ||
+ | battle commands: flee, kill | ||
+ | item commands: drop, get, put, unlock, lock, open, close, remove, wear, equip, wield | ||
+ | rpg commands: score, status, move, equipment, inventory, look | ||
+ | for detailed command info, type 'rpg help < | ||
+ | for help creating a characer, type 'rpg help create' | ||
+ | for help with the editor, type 'rpg help editor' | ||
+ | </ | ||
+ | |||
+ | With **IDENT** it looks like; | ||
< | < | ||
- | <cellguy> can anyone answer a Sychronet IRC question for me? has to do with the bot scripts included with synchronet package | + | Usage: HELP <module> <command> | HELP <command> |
- | <cellguy> How do you get them working? | + | [main] reload,load, |
- | <cellguy> need to get one oman IRC channel on my server | + | [admin] whois, |
- | < | + | [antispam] |
- | < | + | [decider] should |
- | < | + | [dice] roll,dice |
- | < | + | [dis] quote,dis |
- | < | + | [ham] specs, |
- | <cellguy> thanks | + | [humanity] humanity, |
+ | [info] def, | ||
+ | [poker] deal, | ||
+ | [presence] nodelist | ||
+ | [weather] weather, | ||
+ | [whereis] whereis | ||
+ | [rpg] create, | ||
+ | editor commands: | ||
+ | battle commands: flee, kill | ||
+ | item commands: drop, get, put, unlock, lock, open, close, remove, wear, equip, wield | ||
+ | rpg commands: score, status, move, equipment, inventory, look | ||
+ | for detailed command info, type 'rpg help <command>' | ||
+ | for help creating | ||
+ | for help with the editor, type 'rpg help editor' | ||
</ | </ | ||