Differences between revisions 10 and 12 (spanning 2 versions)
Revision 10 as of 2010-08-26 20:32:45
Size: 14730
Editor: iris
Comment: interwiki fix
Revision 12 as of 2011-05-18 23:09:33
Size: 14780
Editor: iris
Comment:
Deletions are marked like this. Additions are marked like this.
Line 4: Line 4:

JasonMcarthur manages this (12-year-old) bot. Honk when modules break.
Line 492: Line 494:
user | :twitter drgone 2
 bot | drgone: I'm at Teriyaki & Wok (324 Broadway Ave E, E Thomas St, Seattle). http://4sq.com/6yi4Eb (Thu May 27 12:48:35 PDT 2010) http://twitter.com/drgone/statuses/14855485197
user | :twitter tumblr
 bot | The recovering database cluster is online and healthy. We're incrementally opening up access to blogs while monitoring performance. (about 1 hour ago)

This is a current list of commands for the eggdrop bot residing on our IRC servers

JasonMcarthur manages this (12-year-old) bot. Honk when modules break.

This bot also sends notifications to the channel when:

  • nodes are down and when services are having issues via Nagios updates

  • changes are made to this wiki
  • email is sent to our mailing lists
  • titles to youtube videos, flickr links, etc (useful to determine whether or not one should visit said url)
  • somebody responds to the group on twitter
  • somebody mentions the group on twitter

AIM Interface

  • This bot also uses AIM via the old TOC2 protocol to interact with users under the name ptpsms. You can also send messages to the IRC channel with #ptp hello (or #swn for seattlewireless). Only a few commands are supported for now.

See this screenshot for an example

PTP Network/Ops Commands

:ping

user | :ping google.com
 bot | google.com is alive (3.64 ms)

:uptime

user | :uptime cantos
 bot | 3 days, 12:35:18.02 (Tue May 25 10:48:08 PDT 2010)

:down

Current down nodes (time down)

user | :down
 bot | basalt (6d11h39m59s) 

:nmap

user | :nmap 70.102.34.162
 bot | 22/tcp  open   ssh 
 bot | 53/tcp  open   domain 
 bot | 80/tcp  open   http 

:currentusage

user | :currentusage
 bot | Current users: 132 | 373 users have transferred 7GB in the last 24 hours (18MB/user)

:nocat

user | :nocat silt
 bot | NodeMississippi : 2205 connections served since Mon Mar 1 00:00:11 2010 | 19 active users 106.254 105.71 106.8 106.239 107.219 105.136 105.95 106.150 105.10 106.124 105.133 106.190 105.54 105.3 106.7 105.12 105.211 105.196 107.246
user | :nocat vinge
 bot | NodePowellsBooks : 140 connections served since Fri May 28 11:30:30 2010 | 10 active users 6.97 6.90 6.72 6.73 6.99 6.87 6.115 6.86 6.98

:max

Highest user count over the past year.

user | :max silt
 bot | 40 at Sun Oct 4 17:00:00 PDT 2009

:olsr

user | :olsr
 bot | 0.1 0.128 0.129 0.192 0.193 0.64 0.65 1.0 1.1 2.0 2.1 2.192 2.193 2.64 2.65 3.0 3.1 3.128 3.129 3.192 3.193 3.64 3.65 4.5 5.0 5.1 5.192 5.193 5.64 5.65 6.0 6.1 6.192 6.193 6.64 6.65 7.0 7.1 7.128 7.129 7.192 7.193 7.64 7.65 8.0 8.1 8.128 8.129 8.192 8.193 9.128 9.129 9.192 9.193 9.64 9.65 10.128 10.129 10.64 10.65 11.0 11.1 11.128 11.129 11.192 11.193 12.0 12.1 14.0 14.1 15.0 15.1 16.0 16.1 33.0 33.1 38.0 38.1 51.0 51.1 61.0 61.1 62.128 62.129 63.0 63.1 84.0 100.0 100

:wiki

user | :wiki 1
 bot | (1) http://wiki.personaltelco.net/action/diff/SkyPilot?action=diff by JasonMcArthur

:weekly

user | :weekly
 bot | The next weekly is at NodeLuckyLab Wednesday, May 19, 2010, 6:30pm-8:00pm 

:monthly

user | :monthly
 bot | The next monthly is at RootsOrganicBrewing Wednesday, May 26, 2010, 6:30-8:00 p.m. 

:host

user | :host bow
 bot | PDX - Hawthorne Hostel 69.168.48.254 bow.hawthorne.ptp. 10.11.100.1

Internet/Networking Tools

:ping

user | :ping
 bot | pong personaltelco.net is alive

:google

user | :google personal telco
 bot | http://www.personaltelco.net/ -> The Personal Telco Project is a 501(c)(3) non-profit organization located in Portland, Oregon dedicated to the idea that people have a central role in how (107000 results)

:ping6

user | :ping6 ipv6.google.com
 bot | 64 bytes from 2001:4860:b006::67: icmp_seq=1 ttl=55 time=26.7 ms

:ipcalc

user | :ipcalc 10.11.11.1/26
 bot | Network: 10.11.11.0/26 | HostMin: 10.11.11.1 | HostMax: 10.11.11.62 | Broadcast: 10.11.11.63 | Hosts/Net: 62 
user | :ipcalc ad8642a142
 bot | Address: 173.134.66.161

:whois

user | :whois 64.122.12.107
 bot | integra telecom, inc. | 64.122.0.0/16 | linette landis cpa

:http

user | :http personaltelco.net
 bot | Apache/2.2.9 (Debian) mod_fastcgi/2.4.6 PHP/5.2.6-1+lenny4 with Suhosin-Patch proxy_html/3.0.0 mod_ssl/2.2.9 OpenSSL/0.9.8g mod_wsgi/2.3 Python/2.5.2 mod_perl/2.0.4 Perl/v5.10.0

:server

user | :server http://www.personaltelco.net
 bot | www.personaltelco.net OS: Linux | Server: Apache/2.2.9 (Debian) mod_fastcgi/2.4.6 PHP/5.2.6-1+lenny4 with Suhosin-Patch proxy_html/3.0.0 mod_ssl/2.2.9 OpenSSL/0.9.8g mod_wsgi/2.3 Python/2.5.2 mod_perl/2.0.4 Perl/v5.10.0 | Uptime avg: 54/max: 198/latest: 92

:news

user | :news gary coleman
 bot | (Sat, 29 May 2010 04:40:25 GMT+00:00) `Diff'rent Strokes' Star Gary Coleman Dies - ABC News: http://xrl.us/bhnbqe 

:url

user | :url http://bit.ly/7DMQGD
 bot | 301 http://www.flickr.com/photos/rlotz/4215066540/

:tiny

user | :tiny http://tinyurl.com/26nnfp2
 bot | http://twitter.zendesk.com/forums/26810/entries/76052

:lengthen

user | :lengthen bhmvy5
 bot | http://xrl.us/bhmvy5 = http://www.cbsnews.com/stories/2010/05/24/national/main6514831.shtml

:shorten

user | :shorten http://www.cbsnews.com/stories/2010/05/24/national/main6514831.shtml
 bot | http://xrl.us/bhmvy5

:title

Grab the title element contents from a web page.

user | :title http://map.personaltelco.net
 bot | Personal Telco Project Nodes

IRC Tools

:msg

user | :msg luckymike the toast is ready
 bot | Message for luckymike accepted

:seen

user | :seen duri
 bot | duri (duri@personaltelco.net) was seen on #ptp only 40 seconds ago stating: hello

:lastquit

user | :lastquit
 bot | csb (~mr@0::1) was last seen quitting from #jist 36 days, 1 minute ago stating Ping timeout: 420 seconds - csb is currently on the channel

:chatter

user | :chatter
 bot | <jmc> 661 (60668b) | <russell--> 226 (23921b) | <luckymike> 225 (20889b) | <russell> 135 (13105b) | <tuxtoolman> 128 (11545b) | <trey2> 64 (6363b) | <duri> 54 (5882b) | <csb> 53 (6269b) | <keegan> 43 (3650b) | <luckymike_werk> 35 (3976b) |

:swn

#swn channel chatter. Lines in the past week (bytes/content)

user | :swn
 bot | <filer> 751 (84808b) | <chronomex> 592 (53635b) | <drgone> 375 (34808b) | <Ry> 336 (34561b) | <casey> 218 (23626b) | <Lasivian> 185 (22477b) | <jmc> 176 (16481b) | <keegan> 83 (8350b) | <fR> 81 (9231b) | <kkemp> 76 (10860b) |

:karma

user | :karma unicode
 bot | karma for unicode is 2

:stats

user | :stats
 bot | Karma stats: 1838 items in the database. Average karma: 0.6050.

:topkarma

user | :topkarma
 bot | Top Karma: steak (45).

:lastkarma

user | :lastkarma
 bot | Lowest Karma: fingers (-36).

:good

user | :good
 bot | steak: 45 russell: 38 that: 27 jmc: 27 B&F: 13 drgone: 11 luckymike: 9 the darkness: 9 duri: 9 house: 8 

:bad

user | :bad
 bot | fingers: -36 hangover: -9 stefan: -8 ellipsis : -7 trees: -5 kgw: -5 Kulongoski: -4 denise: -4 hey russell: -4 sam: -4

GeoLocation Tools

:gps

user | :gps 4008 N mississippi portland or
 bot | 4008 N Mississippi Ave, Portland, OR 97227, USA: 45.5523930 -122.6752170, elevation: 181 feet

:rgeo

user | :rgeo 45.5314310 -122.5948550
 bot | 1401-1457 NE 68th Ave, Portland, OR 97213, USA

:loc

Reverse BSSID lookup (google)

user | :loc 00:15:70:27:07:61
 bot | 4900-5030 NE Irving St, Portland, Oregon, United States, 97213 http://maps.google.com/?q=45.528092+-122.6120685

:wigle

Reverse BSSID lookup (wigle.net)

user | :wigle 00:15:70:27:07:61
 bot | TOCFREEWIFI | 45.52774048 -122.61058044 | 0000-00-00 00:00:00 | 2010-05-23 17:35:28 | encryption N | Channel 11 | U.S. 30, Portland, OR 97213, USA

:phone

Reverse phone

user | :phone 503 648 1234
 bot | Hillsboro, OR (Landline)

:ipmap

user | :ipmap 70.102.34.162
 bot | Portland, Oregon, United States

:whereami

user | :whereami
 bot | Portland, Oregon, United States

Weather Tools

:temp

user | :temp 97213
 bot | 11:26 PM PDT on May 28, 2010 - Laurelhurst, Portland/Oregon, Portland, Oregon: 49.8°F | Windchill: 50°F | Humidity: 79% | Dew Point: 44°F | Wind: North at 0.0 mph | Pressure: 30.00 (Steady) | Conditions: Light Rain

:forecast

user | :forecast pdx
 bot | Portland, Oregon: Tonight - Mostly cloudy. A slight chance of rain and drizzle in the early evening. Lows 45 to 50. Light wind. Sunday - Mostly cloudy. Highs around 65. Southwest wind 5 to 10 mph. Sunday Night - Mostly cloudy. A chance of rain in the evening... then occasional rain overnight. Lows 50 to 55. Southwest wind 5 to 10 mph.

:sea

Current temperature in Seattle

user | :sea
 bot | 50°F

:deg

Current temperature in Portland

user | :deg
 bot | 52°F

Translation Tools

:croatian

user | :croatian beer
 bot | pivo

:czech

user | :czech beer
 bot | pivo

:danish

user | :danish beer
 bot | øl

:dutch

user | :dutch beer 
 bot | bier 

:french

user | :french snail
 bot | escargot

:german

user | :german beer
 bot | Beir

:italian

user | :italian beer
 bot | birra

:norwegian

user | :norwegian beer
 bot | øl 

:portuguese

user | :portuguese food
 bot | alimento

:spanish

user | :spanish beer
 bot | cerveza 

:swedish

user | :swedish beer
 bot | öl 

TV Tools

:this

Now playing on This (ch 2.2)

user | :this
 bot | STORMY MONDAY In a town outside London, an American real estate developer threatens a local jazz club owner who doesn't want to sell his property.

:tonight

user | :tonight
 bot | TV Schedule for Today:
 bot |  Attack Of The Show! (06x99) - Construction Intervention (01x07) - Wife Swap (06x10) - WWE Friday Night SmackDown! (11x35) - Washington Week (49x37) - Past Life (01x04) - Ben 10: Ultimate Alien (01x06) - Generator Rex (01x06) - Main Street Mysteries (01x23) - Fighting words with Mike Straka (01x10) - Need to Know (01x04) - Dateline NBC (19x41) - 20/20 (32x42) - How It's Made (15x10) - Say Yes To The Dress (05x09) - Gator 911 (01x08) - International Rivalries (01x02) -

:tomorrow

TV schedule for tomorrow

user | :tomorrow
 bot |  TV Schedule for Tomorrow:
 bot |  Prime 9 (02x10) - America's Most Wanted (23x38) - UFC PPV Events (18x07) - Last Call with Carson Daly (08x175) 

Music Tools

:kexp

user | :kexp
 bot | 2:34PM The Redwood Plan - A-Side (Listeners: 187 http://xrl.us/kexp128)

:kscr

Current song playing on kscr.org (USC)

user | :kscr
 bot | LCD Soundsystem - This Is Happening - You Wanted A Hit http://kscr.usc.edu:8000/ 

:opb

Current song playing on opbmusic.com

user | :opb
 bot | The Sadies - Another Year Again (http://stream1.opb.org/opbmusic64.mp3)

Etc

:dinner

user | :dinner
 bot | Why don't you eat some Buffalo Meatloaf with Spinach and Roasted Baby Potatoes

:8ball

user | :8ball will it rain?
 bot | No!

:jerkit

user | :jerkit
 bot | yay and my machine crashes and chokes and crawls to a stop!!!!!

:urban

user | :urban cougar
 bot | An older woman who frequents clubs in order to score with a much younger man. The cougar can be anyone from an overly surgically altered wind tunne...

:bruce

user | :bruce
 bot | Perfect Forward Secrecy is when Bruce Schneier whispers something in your ear. 

:chuck

user | :chuck
 bot | Chuck Norris shot the sheriff, but he round house kicked the deputy.

:dubya

user | :dubya
 bot | "This campaign not only hears the voices of the entrepreneurs and the farmers and the entrepreneurs, we hear the voices of those struggling to get ahead."

:rick

Rick Emerson quotes

user | :rick
 bot | That's how we'll all know when we're dead... when we can't blog.

:glossary

user | :glossary portland
 bot | freshwater port and largest city in Oregon; located in northwestern Oregon on the Willamette River which divides the city into east and west ...largest city in Maine in the southwestern corner of the state

:kernel

user | :kernel
 bot | | next-20100528 | 2.6.34-git15 | 2.6.34 | 2.6.34 | 2.6.33.5 | 2.6.32.14 | 2.6.31.13 | 2.6.30.10 | 2.6.27.47 | 2.4.37.9 |

:define

user | :define beer
 bot | a general name for alcoholic beverages made by fermenting a cereal (or mixture of cereals) flavored with hops

:dict

user | :dict isothiocyanate
 bot | a family of compounds derived from horseradish and radishes and onions and mustards; source of the hotness of those plants and preparations

:mac

user | :mac 00:17:3F:B2:18:12
 bot | Belkin Corporation

:convert

user | :convert 300 pounds in ounces
 bot | 300 pounds = 4800 ounces

:calc

user | :calc 4*12/2
 bot | (4 * 12) / 2 = 24

:currency

user | :currency 100 eur in cad
 bot | 100 Euros = 129.113368 Canadian dollars

:time

user | :time paris france
 bot | 8:26 AM CEST (GMT +02)

:suffix

user | :suffix oble
 bot | coble, disennoble, ennoble, ignoble, immoble, moble, noble, roble, unnoble

:property

user | :property 2121 n mcclellan
 bot | 2121 N MCCLELLAN ST  PORTLAND, OR 97217 | $201,440.00 | ADAMS SAMUEL F

:stock

user | :stock aapl
 bot | Apple Inc.: 256.88, +3.53 (-0.90%) at 4:00pm on 5/28/2010, opened at 259.18 with a low of 253.35, a high of 259.40 and a volume of 29,129,032

:twitter

user | :twitter tumblr
 bot |  The recovering database cluster is online and healthy. We're incrementally opening up access to blogs while monitoring performance. (about 1 hour ago)

:wolfram

Wolfram|Alpha module

user | :wolfram distance between moon and earth times calories in pizza
 bot | 9.3x10^7 mi Cal (mile dietary Calories)

IrcBot (last edited 2016-03-14 17:04:14 by c-67-171-141-208)