Locutus

From Afterxwiki

Locutus is a friendly bot kindly operated by MiNdErAsR which can perform a variety of tasks upon request. Please do not abuse the bot.

It offers some flood protection by monitoring amount of text and also on-join flood protection with pre-emptive limiting of users (it always set a channel limit just higher than the actual number users in a channel to prevent bots joining en-masse).



Weather
It can display global meteorological, solar, and lunar information using the following...
Commands:
(in channel or msg)
.wz -d -o -u <imc> <city,state|zip> <country> -- current weather
.wzf -d -o <-u imc> <city,state|zip> <country> -- current weather & forecast
.time <city,state|zip> <country> -- current time
.sun <city,state|zip> <country> -- sunrise/sunset
.rain <city,state|zip> <country> -- precipitation
.moon <city,state|zip> <country> -- moon phase
.wzc <country> -- search for a country code, defaults to US
When using US cities, be sure to put in a comma suffix - eg, .wz cody, wy

Options:
-o will give you brief format output
-u <imc> selects units imperial, metric, combined, overides current default of combined

Examples:
.wz -u m denver, co -- current weather in Denver Colorado in metric.
.wzf Rome it -- weather forecast for Rome, Italy
.wz toronto ca -- current weather in Toronto, Canada



RSS Feeds
It reads some RSS feeds - type $news followed by a feedname (Eg, $news BBC)
Current feednames are: BBC, CNet, Del.icio.us, Firefox, Fox, Science, SlashDot, Snopes, Space, Tech, Virus, Wired
Be patient with this particular feature, it has to fetch and parse results from websites.



Country Code
To find out what a country code is, type !country XX where XX is the country code (eg, DE, IS, AU).



Ping
Locutus can ping you using !ping or !pingme on a channel, or /msg bot ping or /msg bot pingme and gives you the results via notice.



Google Search
It can return Google searches - top 3 results
Basic usage guide:
!google [define:|spell:] <search terms> <1+1> <1 cm in ft> <patent ##> <weather city|zip> <??? airport>
!images <search terms>
!groups <search terms>
!local <what> near <where>
!print <search terms>
!video <search terms>
!fight <word(s) one> vs <word(s) two>
And it can use Google as a calculator - !google 1+(2*3)
Or Google as a Currency Convertor - !google 10 USD to GBP
You can use !g instead of !google



Finally, it can do fun stuff too...

Timebomb
To start the game a user must type:
timebomb <nickname>
This will cause the target user to have a timebomb "stuffed in their pants". Once this occurs the user will have a number of seconds to defuse the bomb.
Defusing the bomb is done by typing:
cutwire <color>
The wire colors you can choose from are displayed when the bomb is planted. This script will not allow bots (Users who are +b), or the bot running the script, to be timebombed.



Quote
!quote will display a random quote from the current list (for quotes, also see Quotes )
!quote with the option of an arg e.g. !quote *Steinsky* displays a random quote containing "Steinsky" from anywhere within the quote
!addquote (And !quoteadd !+quote) <quote> enters a new quote to the list
!quotestats or !quotestats *matchtext*




Lies
!lie will display a random lie from the current list
!addlie <lie> enters a new lie to the list
!dellie <lie> removes a lie from the list



Bash Quotes
!bash
This displays a random quote from the bash.org quote database. The quote will always appear in a public channel, because the script will ignore entries in its random quote cache that have a length exceeding bash_max_public_line_length, which is currently set to five lines.


!bash <text>
Needless to say, the < and > symbols should not be typed in as part of the command. (Unless you're searching for a nick, of course.) Fetches the quote numbers of the first N quotes (N being defined by bash_max_search_results, currently set to 10) that match text <text>.


!bash <number>
Again, no < and > symbols, please. Fetches a specific numbered quote from the QDB. If it contains less lines than the bash_max_public_line_length setting, the quote will be displayed publically. If not, it will be privately /msged or /noticed to the use who requested it.



Insults
!insult or !insult <nickname>
Insult is another lame TCL. It will hurl bad insults at yourself or others when triggered.



Magic 8ball
8ball <question>
Just like the magic eight ball you all know and love.