Results 1 to 4 of 4

Thread: Rizon Internets bot v2

  1. #1
    Junior Member
    Join Date
    Jun 2010
    Location
    Italy
    Posts
    19

    Default Rizon Internets bot v2

    Hi,

    a new version of our bot Internets was just released. It kept some of the old commands (it wasn't possible to fix .bash) and added a lot of new ones.

    Feedback, bug reports and suggestions are appreciated, join #internets.



    News:

    2011-12-09

    Added .urbandictionary command.

    The syntax is slightly different from the old Internets bot,

    Usage: .urbandictionary <term> [/<definition_number>]
    Description: Search for a definition on Urban Dictionary.
    Notes:
    .urbandictionary <something> lists the first 3 definitions of the word,
    .urbandictionary <something> /<n> lists the n-th definition of that word with a related example.
    It is not possible to show definitions after the 5th (it's limited by Urban Dictionary API).

    Examples:
    16:36 <@martina> .u irc
    16:36 <@Internets> :: [1/29] IRC :: Abbreviation for Internet Relay Chat. A multiplayer notepad. ::
    16:36 <@Internets> :: [2/29] IRC :: IRC (Internet Relay Chat) is a chat protocol initially developed as a means of communication back in the days of BBS (Bulletin Board System). / / Clients connect to a specified server which is part o... ::
    16:36 <@Internets> :: [3/29] IRC :: Short for Internet Relay Chat. Is a great and more advanced way of talking to people. ::

    16:36 <@martina> .u irc/4
    16:36 <@Internets> :: [4/29] irc :: It's a place where broken and odd people gather to get drunk in a flood of text and insanity. ::
    16:36 <@Internets> :: Example Many people in irc share thoughts and feelings that they would never reveal to another human on a personal level. ::


    2011-12-06
    The .translate command was re-implemented in the bot. (It was removed a few days ago, after Google disabled their free translation API.)
    The command syntax is still the same, but it uses Bing Translator instead of Google Translate now.

    To translate text from a supported language (auto detected) to English:
    <martina> .t qualcosa da tradurre
    <Internets> [t] [from it] something to translate

    to translate from a supported language to another, use .t <language_code_of_the_translation_text> <code_of_the_language_to_translate_into> <text_to_translate_here>:
    <martina> .t en it This is an example
    <Internets> [t] [from en] Questo è un esempio

    As always, report bugs/suggestions in our channel #internets!

    ---

    Request / remove


    To request the bot (must be channel founder):

    /msg Internets request #channel

    To remove the bot (again, must be founder):

    /msg Internets remove #channel

    Commands

    Type .help internets in a channel where the bot is to have a list of commands.

    02:49 -Internets(python@services.rizon.net)- calc (cc) Calculates an expression
    02:49 -Internets(python@services.rizon.net)- dice (d) Rolls X N-sided dice with an optional modifier A (XdN+A format)
    02:49 -Internets(python@services.rizon.net)- dictionary (dict) Search for a dictionary definition
    02:49 -Internets(python@services.rizon.net)- expand Expands a shortened URL using http://longurl.org
    02:49 -Internets(python@services.rizon.net)- fml Displays a quote from http://www.fmylife.com
    02:49 -Internets(python@services.rizon.net)- forecast (f) Displays 5-day forecast for a location
    02:49 -Internets(python@services.rizon.net)- google (g) Search for something on Google
    02:49 -Internets(python@services.rizon.net)- help Displays available commands and their usage
    02:49 -Internets(python@services.rizon.net)- idlerpg (irpg) Returns info on a player in Rizon IdleRPG (http://idlerpg.rizon.net/)
    02:49 -Internets(python@services.rizon.net)- imdb Search for information on a movie on IMDB
    02:49 -Internets(python@services.rizon.net)- info Displays version and author information
    02:49 -Internets(python@services.rizon.net)- ipinfo Returns short info on a IP address/hostname
    02:49 -Internets(python@services.rizon.net)- lastfm Returns information on a Last.fm user
    02:49 -Internets(python@services.rizon.net)- qdb Displays a quote from qdb.us
    02:49 -Internets(python@services.rizon.net)- register_location (regloc) Links a location to your nick that will be used as default location in .w and .f
    02:49 -Internets(python@services.rizon.net)- shorten Shortens a URL using http://j.mp
    02:49 -Internets(python@services.rizon.net)- translate (t) Translate something from a language to another
    02:49 -Internets(python@services.rizon.net)- weather (w) Displays current weather conditions for a location
    02:49 -Internets(python@services.rizon.net)- youtube (yt) Search for something on YouTube

    * .calc / .cc

    Usage: .calc <expression>
    Description: Calculates an expression using Google calculator.

    Examples:

    02:52 < martina> .calc 4+2
    02:52 < Internets> [calc] 4 + 2 = 6

    02:52 < martina> .calc number of horns on a unicorn
    02:52 < Internets> [calc] number of horns on a unicorn = 1

    You can also convert currencies / units of measure:

    18:50 < Blade3D> .calc 1 usd to eur
    18:50 < Internets> [calc] 1 U.S. dollar = 0.693914371 Euros

    18:52 < Blade3D> .calc 8 Mb to KB
    18:52 < Internets> [calc] 8 megabits = 1024 kilobytes


    * .dice / .d

    Usage: .dice XdN+A
    Description: Rolls X N-sided dice with an optional modifier A (XdN+A format)
    (See http://en.wikipedia.org/wiki/Dice_notation for a more detailed syntax description)

    Examples:

    02:54 <%martin> .d 20
    02:54 < Internets> :: Total 15 / 20 [75%] :: Results [15] ::

    02:54 <%martin> .d 2d6+4
    02:54 < Internets> :: Total 12 / 16 [75%] :: Results [4, 4] ::

    02:54 <%martin> .d 5d8
    02:54 < Internets> :: Total 22 / 40 [55%] :: Results [8, 2, 4, 1, 7] ::

    * .dictionary / .dict

    Usage: .dictionary <word>
    Description: Looks up the definitions of word on a dictionary.
    Notes: If the word has more than 4 definitions, you can see the entire list using .dict word -a (it will be sent using /notice, so that it doesn't flood the channel). To view a single definition: .dict word -n <definition_number>.
    This uses API from http://www.wordnik.com/ - the dictionary is the AHD (http://en.wikipedia.org/wiki/The_Ame...glish_Language)

    Examples:
    02:59 <%martin> .dict irc
    02:59 < Internets> :: [1/1] Definition IRC :: An international computer network of Internet servers, using its own protocol through which individual users can hold real-time online conversations. ::

    02:59 <%martin> .dict channel
    02:59 < Internets> :: [1/18] Definition channel :: The bed of a stream or river. ::
    02:59 < Internets> :: [2/18] Definition channel :: The deeper part of a river or harbor, especially a deep navigable passage. ::
    02:59 < Internets> :: [3/18] Definition channel :: A broad strait, especially one that connects two seas. ::
    02:59 < Internets> :: [4/18] Definition channel :: A trench, furrow, or groove. ::
    02:59 -Internets(python@internets)- To view all definitions: .dict channel -a. To view the n-th definition: .dict channel -n <number>

    03:04 <%martin> .dict something -n 6
    03:04 < Internets> :: [6/9] Definition something :: Of, relating to, or being a member of a specified age range. Often used in combination: "the lives and loves of hip, twentysomething city dwellers? ( Joseph P. Kahn). ::

    * .expand

    Usage: .expand <shortened_url>
    Description: Expands a shortened URL. Supports a lot of services, like tinyurl.com, j.mp etc....

    Examples:
    03:07 < martina> .expand http://tinyurl.com/2tx
    03:07 < Internets> :: Long URL http://www.google.com/ :: Content-type text/html; charset=ISO-8859-1 ::

    03:08 < martina> .expand http://s.rizon.net/vhost
    03:08 < Internets> :: Long URL http://forum.rizon.net/showthread.ph...st-Policy&p=25 :: Content-type text/html; charset=ISO-8859-1 ::

    * .fml

    Usage: .fml [quote_id]
    Description: Without arguments, it prints a random quote from http://www.fmylife.com/

    Examples:
    03:56 < martina> .fml
    03:56 < Internets> [fml #15720918] Today, I went outside to smoke a cigarette. I had my headphones in and was blasting my music. It was also cold so I had my hood up. I had my back turned to the house and wasn't paying attention. My brother thought I was a burglar and tackled me to the concrete. FML

    03:56 < martina> .fml 242158
    03:56 < Internets> [fml #242158] Today, someone stole my phone at a concert. They decided it would be funny to text my mom saying I was pregnant. FML

    * .forecast / .f

    Usage: .forecast [location[ , state] | zip code]
    Description: Shows a 5-day weather forecast for a location. Data from http://www.wunderground.com/
    Notes on .weather and .forecast: it makes a lot of mistakes when searching the location (like, .w san francisco will return weather for san francisco in argentina), in those cases try adding the state or country to your search. For example: .w san francisco, ca. Or .w milan, it; .w berlin, germany and so on.

    Example:
    03:11 < martina> .forecast Surabaya
    03:11 < Internets> :: Surabaya :: Sun Partly Cloudy 34C / 93F 24C / 75F :: Mon Clear 33C / 91F 24C / 75F :: Tue Partly Cloudy 33C / 91F 24C / 75F :: Wed Chance of a Thunderstorm (20%) 33C / 91F 24C / 75F :: Thu Chance of a Thunderstorm (20%) 33C / 91F 24C / 75F :: Fri Clear 34C / 93F 24C / 75F ::

    04:19 < martina> .f san francisco
    04:19 < Internets> :: San Francisco, Argentina :: Sat Chance of a Thunderstorm (50%) 21C / 70F 9C / 48F :: Sun Clear 19C / 66F 8C / 46F :: Mon Clear 20C / 68F 7C / 45F :: Tue Clear 20C / 68F 5C / 41F :: Wed Clear 18C / 64F 6C / 43F :: Thu Partly Cloudy 19C / 66F 9C / 48F ::
    04:19 < martina> .f san francisco, ca
    04:20 < Internets> :: San francisco, ca :: Sat Clear 19C / 67F 12C / 54F :: Sun Clear 20C / 68F 12C / 54F :: Mon Clear 20C / 68F 12C / 54F :: Tue Clear 18C / 65F 12C / 54F :: Wed Clear 17C / 63F 12C / 54F :: Thu Clear 19C / 67F 12C / 54F ::

    if you linked a location to your IRC nick using .register_location, you don't need to type it:
    03:14 <%martin> .f
    03:14 < Internets> :: Florence, italy :: Sun Clear 33C / 91F 15C / 59F :: Mon Clear 32C / 90F 14C / 57F :: Tue Partly Cloudy 30C / 86F 16C / 61F :: Wed Clear 32C / 90F 18C / 64F :: Thu Partly Cloudy 32C / 90F 22C / 72F :: Fri Chance of a Thunderstorm (40%) 33C / 91F 16C / 61F ::

    * .google / .g

    Usage:
    .google <something>
    Description:
    Search for something on Google

    Examples:
    03:16 <%martin> .g rizon irc
    03:16 < Internets> [Google] Rizon Chat Network (http://rizon.net/)
    03:16 < Internets> [Google] Description: Rizon is an IRC (internet relay chat) network that has been around for 9 years and counting. It is an entirely free service that allows you to setup a channel to chat ...

    * .idlerpg / .irpg

    Usage: .idlerpg <player_name>
    Description: Returns info on a player in Rizon IdleRPG (http://idlerpg.rizon.net/)

    Examples:
    03:55 < blake> .irpg yourname
    03:55 <@Internets> :: yourname [ON] :: Level 75 AssHole :: Next level 60 days, 4:24:20 :: Idled 411 days, 18:02:00 :: Alignment Neutral ::

    * .imdb

    Usage:
    .imdb <movie_name>
    Description: Search for a movie info on http://www.imdb.com/.

    Examples:
    03:22 < martina> .imdb inception
    03:22 < Internets> :: Inception [2010] Rated PG-13 :: Rating 8.9/10, 331,721 votes :: Genre Action, Mystery, Sci-Fi, Thriller :: Director Christopher Nolan :: Actors Leonardo DiCaprio, Joseph Gordon-Levitt, Ellen Page, Ken Watanabe :: Runtime 2 hrs 28 mins ::
    03:22 < Internets> :: Plot In a world where technology exists to enter the human mind through dream invasion, a highly skilled thief is given a final chance at redemption which involves executing his toughest job to date: Inception. :: http://www.imdb.com/title/tt1375666/ ::

    * .ipinfo

    Usage: .ipinfo <IP_address | hostname>
    Description: Returns short info on a IP address/hostname

    Examples:
    03:26 < martina> .ipinfo 79.19.123.64
    03:26 < Internets> :: IP/Host 79.19.123.64 (79.19.123.64) :: Location Venice, Veneto, Italy [IT] :: http://maps.google.com/maps?q=45.439,12.327 ::

    03:26 < martina> .ipinfo google.com
    03:26 < Internets> :: IP/Host google.com (74.125.113.104) :: Location Mountain view, California, United states [US] :: http://maps.google.com/maps?q=37.3956,-122.076 ::

    * .lastfm

    Usage: .lastfm <lastfm_user>
    Description: Returns information on a last.fm (http://www.last.fm/home) user

    Examples:
    03:33 < martina> .lastfm last.hq
    03:33 < Internets> :: LAST.HQ [The Team, 9, UK] :: Plays 199,487 since 2003-01-20 :: Link http://www.last.fm/user/LAST.HQ :: Latest track Grafton Primary - All There Is (1 day ago) ::

    * .qdb

    Usage: .qdb [quote_id]
    Description: Without arguments, it prints a random quote from http://www.qdb.us/.

    Examples:
    03:35 < martina> .qdb
    03:35 < Internets> [qdb #14833] --> guest (~SportsCar@166.111.6.93) has joined #lgl
    03:35 < Internets> [qdb #14833] * guest ´ó½Ð£º¾ÈÃü°¡£¡ ¾ÈÃü°¡£¡
    03:35 < Internets> [qdb #14833] <khalek> you seem to be a little mixed up
    03:35 < Internets> [qdb #14833] <khalek> this is not #perl

    03:36 < martina> .qdb 12949
    03:36 < Internets> [qdb #12949] <boarsai> funnily enough it took me a few minutes to realise my pen didn't have "alt + z" capabilities...

    * .register_location / .regloc

    Usage: .register_location <location[ , state] | zip code>
    Description: links a location to your IRC nick, so that you won't have to type it every time you want the forecast/weather for that location.

    Examples:
    03:14 <%martin> .regloc florence
    03:14 < Internets> martin: registered location Florence, Italy

    03:38 <%martin> .w
    03:38 < Internets> :: Florence, Italy :: Conditions Clear :: Temperature 17C / 63F :: Dew point 13C / 55F :: Pressure 1015mb / 29.98in :: Humidity 77% :: Visibility N/A :: Wind from Variable at 1.6km/h / 1 mph :: Last updated on August 28, 3:20 AM CEST ::

    * .shorten

    Usage: .shorten <URL>
    Description: shortens a URL using http://j.mp

    Examples:
    03:39 < martina> .shorten http://google.com
    03:39 < Internets> :: Short URL http://j.mp/aMVDiv ::

    * .translate / .t

    Usage: .translate [<from> <to>] <text>
    Description: translates text from a language to another using Bing Translator. If languages from and to are not given, it will attempt to recognize the language automatically and translate to English.
    Notes: A full list of supported language codes is available here.

    Examples:
    Source/destination languages not given, it tries to auto detect source language:
    03:44 < martina> .t è meglio un uovo oggi che una gallina domani
    03:44 < Internets> [t] [from it] better an egg today than a hen tomorrow

    Translate from english to german:
    03:45 < martina> .t en de hello world
    03:45 < Internets> [t] [en -> de] Hallo Welt

    * .urbandictionary / .u

    Usage: .urbandictionary <term> [/<definition_number>]
    Description: Search for a definition on Urban Dictionary.
    Notes: .urbandictionary <something> lists the first 3 definitions of the word, .urbandictionary <something> /<n> lists the n-th definition of that word with a related example.
    It is not possible to show definitions after the 5th (it's limited by Urban Dictionary API).

    Examples:
    16:36 <@martina> .u irc
    16:36 <@Internets> :: [1/29] IRC :: Abbreviation for Internet Relay Chat. A multiplayer notepad. ::
    16:36 <@Internets> :: [2/29] IRC :: IRC (Internet Relay Chat) is a chat protocol initially developed as a means of communication back in the days of BBS (Bulletin Board System). / / Clients connect to a specified server which is part o... ::
    16:36 <@Internets> :: [3/29] IRC :: Short for Internet Relay Chat. Is a great and more advanced way of talking to people. ::

    16:36 <@martina> .u irc/4
    16:36 <@Internets> :: [4/29] irc :: It's a place where broken and odd people gather to get drunk in a flood of text and insanity. ::
    16:36 <@Internets> :: Example Many people in irc share thoughts and feelings that they would never reveal to another human on a personal level. ::


    * .weather / .w


    Usage: .weather [location[ , state] | zip code]
    Description: Displays current weather conditions for a location
    Notes on .weather and .forecast: it makes a lot of mistakes when searching the location (like, .w san francisco will return weather for san francisco in argentina), in those cases try adding the state or country to your search. For example: .w san francisco, ca. Or .w milan, it; .w berlin, germany and so on.

    Examples:
    03:53 <%martin> .w 90210
    03:53 < Internets> :: Beverly Hills, CA :: Conditions Clear :: Temperature 21C / 70F :: Dew point 16C / 60F :: Pressure 1011mb / 29.86in :: Humidity 71% :: Visibility 16.1km / 10.0mi :: Wind from WSW at 12.8km/h / 8 mph :: Last updated on August 27, 5:51 PM PDT ::

    03:53 <%martin> .w panama city, fl
    03:53 < Internets> :: Panama City, FL :: Conditions Clear :: Temperature 30C / 86F :: Heat index 37C / 99F :: Dew point 26C / 78F :: Pressure 1006mb / 29.70in :: Humidity 76% :: Visibility 16.1km / 10.0mi :: Wind from West at 20.8km/h / 13 mph :: Last updated on August 27, 7:55 PM CDT ::

    * .youtube / .yt

    Usage: .youtube <search>
    Description: search for something on YouTube

    Examples:
    03:54 < martina> .youtube nyan cat
    03:54 < Internets> :: YouTube Nyan Cat [original] :: URL http://www.youtube.com/watch?v=QH2-TGUlwu4 (03:37) :: Views 33,889,699 :: Rating 4.8/5 - 426,946 votes [+] 405,115 likes [-] 21,831 dislikes ::
    Last edited by martin; 12-09-2011 at 10:12 AM. Reason: added .urbandictionary
    - Services operator || vHost team || Dev team -

  2. #2
    Rizon Staff darkex's Avatar
    Join Date
    Sep 2009
    Posts
    120

    Default

    Looks very nice, responsive and the features are good.
    irc operator
    services operator
    darkex [AT] rizon [DOT] net

  3. #3
    Junior Member
    Join Date
    Feb 2010
    Posts
    8

    Default

    Well at least it is back now. I like the changes, and cant say that i cared much for urban or bash anyways. They just spammed the hell out of my channel. This is an excellent choice of bot for anyone who cant or is too lazy to setup an eggdrop.

  4. #4
    Rizon Staff Blake's Avatar
    Join Date
    Feb 2009
    Location
    #TKD
    Posts
    590

    Default

    Quote Originally Posted by Wulfe View Post
    Well at least it is back now. I like the changes, and cant say that i cared much for urban or bash anyways. They just spammed the hell out of my channel. This is an excellent choice of bot for anyone who cant or is too lazy to setup an eggdrop.
    I disagree, I enjoyed the urban and bash. However over like 3 lines it should use /notice. Other than that it works nicely. Only issue is http://idlerpg.rizon.net/ is down, which has nothing to do with the bot itself. It does however render ".irpg" useless at the very moment.
    yourname / blake
    |IRC Operator - Server Admin|
    |Services Staff|
    |
    Help Team|
    |Kline Team|
    |
    vHost Team Lead|

    blake@rizon.net

Similar Threads

  1. Rizon Internets bot
    By Jason in forum Rizon News
    Replies: 19
    Last Post: 07-10-2010, 10:15 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •