Skip to content
This repository was archived by the owner on Jun 8, 2023. It is now read-only.

Commit a1e6462

Browse files
author
Tom Bell
committed
Merge pull request #775 from solap/patch-4
Create zombies.coffee
2 parents 871cd57 + ff11656 commit a1e6462

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

src/scripts/zombies.coffee

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# Description:
2+
# Bring forth zombies
3+
#
4+
# Dependencies:
5+
# None
6+
#
7+
# Configuration:
8+
# None
9+
#
10+
# Commands:
11+
# (zombie) - Call in a zombie
12+
#
13+
# Author:
14+
# solap
15+
16+
17+
18+
images = [
19+
"http://24.media.tumblr.com/tumblr_m35jnyjTco1qikhvso1_100.gif",
20+
"http://www.netanimations.net/head2.gif",
21+
"http://www.netanimations.net/Animated-Zombie-Reverse.gif",
22+
"http://www.freewebs.com/echoeyy/zombie%20getting%20shot.gif",
23+
"https://i.chzbgr.com/maxW500/6360720640/h487AE90F/",
24+
"https://i.chzbgr.com/maxW500/5912815872/h8AB29CB2/",
25+
"https://i.chzbgr.com/maxW500/5299680512/h5120FD0B/"
26+
]
27+
28+
module.exports = (robot) ->
29+
robot.hear /zombi(e|es)/i, (msg) ->
30+
msg.send msg.random images

0 commit comments

Comments
 (0)