```coffeescript
# Description:
#   Liona is just so awesome
#
# Commands:
#   hubot <3

whitelist = require '../support/whitelist'

module.exports = (robot) ->
  robot.respond /say to ([a-zA-Z-_\#]+) (.*)/, (msg) ->
    if whitelist.canSay(robot, msg.message.user)
      [room, message] = msg.match[1..2]
      robot.messageRoom room, message
    else
      msg.reply "Denied because you #{msg.message.user.name} are not in the access list."
```

Add ability to make Liobot emote
user
```coffeescript
# Description:
#   Liona is just so awesome
#
# Commands:
#   hubot <3

whitelist = require '../support/whitelist'

module.exports = (robot) ->
  robot.respond /say to ([a-zA-Z-_\#]+) (.*)/, (msg) ->
    if whitelist.canSay(robot, msg.message.user)
      [room, message] = msg.match[1..2]
      robot.messageRoom room, message
    else
      msg.reply "Denied because you #{msg.message.user.name} are not in the access list."

  robot.respond /emote to ([a-zA-Z-_\#]+) (.*)/, (msg) ->
    if whitelist.canSay(robot, msg.message.user)
      [room, message] = msg.match[1..2]
      # change the msg.message.user.room and msg.message.room to the room we want
      # the emote to go to, as the emote command is made to emote to the place the
      # message was received from
      msg.message.user.room = msg.message.room = room
      msg.emote message
    else
      msg.reply "Denied because you #{msg.message.user.name} are not in the access list."
```
assistant