From The Mana World
Line 1: Line 1:
:<i>This article is about the "Elanore" IRC bot. For the in-game npc, see [[Elanore]].</i>
:<i>This article is about the "Elanore" IRC bot. For the in-game npc, see [[Elanore]].</i>
Elanore is an IRC bot based on Limnoria, itself based on [http://doc.supybot.aperio.fr/en/latest/ SupyBot].
Elanore is an IRC bot based on Limnoria, itself based on [http://doc.supybot.aperio.fr/en/latest/ SupyBot]. The source code can be found on [https://github.com/ProgVal/Limnoria GitHub].


= Modules =
= Modules =

Revision as of 05:20, 14 October 2014

This article is about the "Elanore" IRC bot. For the in-game npc, see Elanore.

Elanore is an IRC bot based on Limnoria, itself based on SupyBot. The source code can be found on GitHub.

Modules

Each chat command is part of one of the numerous modules (plugins). Only the commands of user-accessible modules are listed below.

Aka

This plugin allows the user to create various aliases (known as "Akas", since Alias is the name of another plugin Aka is based on) to other commands or combinations of other commands (via nested commands). It is a good idea to always quote the commands that are being aliased so that any nested commands are not immediately run.

add

To add an Aka, do !aka add (name) (command)

remove

To remove an Aka, do !aka remove (name)

lock

To lock an Aka, do !aka lock (name)

unlock

To unlock an Aka, do !aka unlock (name)

list

To get a list of all Aka, do !list aka

Games

coin

!coin will randomly return "Heads" or "Tails"

dice

!dice (nb)d(sides) will return a random number from (nb) dices ranging from 1 to (sides)

eightball

!eightball will return a random reply to a fictive question

monologue

!monologue (channel) returns the number of consecutive lines you've sent in (channel) without being interrupted by someone else (i.e. how long your current 'monologue' is). (channel) is only necessary if the message isn't sent in the channel itself.

roulette

write !roulette to play Russian roulette

Google

Google

Write !google (terms) to make a search on Google and return the first results

lucky

Write !lucky (terms) to make a search on Google and return the url of the very first result

translate

To translate a phrase to another language, write !google translate (source language) [to] (destination language) (text)

QuoteGrabs

get

Write !quotegrabs get (id) to get the quote with the given id

grab

Write !grab (username) to grab the last sentence of the given user

ungrab

Write !ungrab (id) to delete the quote with the given id

random

Write !quotegrabs random (username) to get a random quote from the given user. If no user is specified, returns a random quote from any user.

search

Write !quotegrabs search (text) to get a list of all quotes containing the substring (text)

list

Write !quotegrabs list (username) to get a list of all quotes of the given user