baloo/hubot — comment on commit 511d430359f037704886f52acc1b0218b3d9600b
File:  line 0
By baloo:

you have to adapt scripts a bit to enable this feature:

```coffeescript
# Returns bar when you write foo
#
# foo - returns bar

module.exports = (robot) ->
robot.respond /foo/i, __filename, (msg) ->
bar msg, (rsp) ->
msg.send rsp

bar = (msg, cb) ->
cb "bar"

```

All the magic comes with the __filename parameter :)