| Rizon Internets bot v2 |
|
|
|
| Written by Dan Wolfe |
| Saturday, 27 August 2011 14:22 |
|
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 .urbandictionary) and added a lot of new ones. Feedback, bug reports and suggestions are appreciated, join #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( This e-mail address is being protected from spambots. You need JavaScript enabled to view it )- calc (cc) Calculates an expression 02:49 -Internets( This e-mail address is being protected from spambots. You need JavaScript enabled to view it )- dice (d) Rolls X N-sided dice with an optional modifier A (XdN+A format) 02:49 -Internets( This e-mail address is being protected from spambots. You need JavaScript enabled to view it )- dictionary (dict) Search for a dictionary definition 02:49 -Internets( This e-mail address is being protected from spambots. You need JavaScript enabled to view it )- expand Expands a shortened URL using http://longurl.org 02:49 -Internets( This e-mail address is being protected from spambots. You need JavaScript enabled to view it )- fml Displays a quote from http://www.fmylife.com 02:49 -Internets( This e-mail address is being protected from spambots. You need JavaScript enabled to view it )- forecast (f) Displays 5-day forecast for a location 02:49 -Internets( This e-mail address is being protected from spambots. You need JavaScript enabled to view it )- google (g) Search for something on Google 02:49 -Internets( This e-mail address is being protected from spambots. You need JavaScript enabled to view it )- help Displays available commands and their usage 02:49 -Internets( This e-mail address is being protected from spambots. You need JavaScript enabled to view it )- idlerpg (irpg) Returns info on a player in Rizon IdleRPG (http://idlerpg.rizon.net/) 02:49 -Internets( This e-mail address is being protected from spambots. You need JavaScript enabled to view it )- imdb Search for information on a movie on IMDB 02:49 -Internets( This e-mail address is being protected from spambots. You need JavaScript enabled to view it )- info Displays version and author information 02:49 -Internets( This e-mail address is being protected from spambots. You need JavaScript enabled to view it )- ipinfo Returns short info on a IP address/hostname 02:49 -Internets( This e-mail address is being protected from spambots. You need JavaScript enabled to view it )- lastfm Returns information on a Last.fm user 02:49 -Internets( This e-mail address is being protected from spambots. You need JavaScript enabled to view it )- qdb Displays a quote from qdb.us 02:49 -Internets( This e-mail address is being protected from spambots. You need JavaScript enabled to view it )- register_location (regloc) Links a location to your nick that will be used as default location in .w and .f 02:49 -Internets( This e-mail address is being protected from spambots. You need JavaScript enabled to view it )- shorten Shortens a URL using http://j.mp 02:49 -Internets( This e-mail address is being protected from spambots. You need JavaScript enabled to view it )- translate (t) Translate something from a language to another 02:49 -Internets( This e-mail address is being protected from spambots. You need JavaScript enabled to view it )- weather (w) Displays current weather conditions for a location 02:49 -Internets( This e-mail address is being protected from spambots. You need JavaScript enabled to view it )- 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 (~ This e-mail address is being protected from spambots. You need JavaScript enabled to view it ) 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 Google Translate. If languages from and to are not given, it will attempt to recognize the language automatically and translate to English. Notes: it is using ISO-639-1 2-letters codes for languages. A full list is available here: http://code.google.com/apis/language...anguage-params 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 * .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 :: Read more: Rizon Internets bot v2 |
| Last Updated on Friday, 02 March 2012 00:36 |
Legal Notice | About Wolfe's Blog | About Wolfe | Contact | Advertise | Site Map (Wolfe's Blog) | Stats | Search


