Skip to content
This repository
Newer
Older
100644 27 lines (25 sloc) 0.808 kb
e8b5ec34 » tombell
2012-06-09 Update "j" scripts help comments
1 # Description:
2 # Display a picture of Michael Jordan if anyone invokes "jordan" or says "23"
3 # Cause Jordan is God. So much more than Steve Jobs :D
4 #
5 # Dependencies:
6 # None
7 #
8 # Configuration:
9 # None
10 #
11 # Commands:
12 #
13 # Author:
14 # KuiKui
bd96d5e2 » KuiKui
2011-11-06 Add initial 'jordan' script
15
16 images = [
17 "http://pictureloaders.com/images/pictures-of-michael-jordan18.jpg"
18 "http://a7.idata.over-blog.com/0/54/95/85/Michael_Jordan1414.jpg"
19 "http://02.img.v4.skyrock.net/028/michael-jordan-n23/pics/884566066_small.jpg"
20 "http://absolutezone.files.wordpress.com/2008/11/michael_jordan014.jpg"
21 "http://hrichert1.free.fr/IDD_BB_NT/postes_basket/Michael%20jordan.jpg"
22 "http://www.michaeljordansworld.com/pictures/images/michael_jordan_dunks_jazz.jpg"
23 ]
24
25 module.exports = (robot) ->
26 robot.hear /(jordan|23)/i, (msg) ->
27 msg.send msg.random images
Something went wrong with that request. Please try again.