 # Configuration:
 #
 # Commands:
-#   None
+#   hubot create var <varname>
+#   hubot remove var <varname>
+#   hubot remove var <varname>!
+#   hubot add value <varname> <value>
+#   hubot remove value <varname> <value>
+#   hubot var <varname> type <var|verb|noun>
+#   hubot list var <varname>
+#   hubot list vars
 #
 # Author:
 #   Gavin Mogan <gavin@kodekoan.com>

    robot.brain.data.variables[varname].values.push value
    msg.reply "Okay."

  robot.hear /^remove value (\w+) (.*)$/, (msg) ->
    varname = msg.match[1]
    value = msg.match[2]
    if !robot.brain.data.variables[varname]

      msg.reply "Okay, removed variable " + varname
    delete robot.brain.data.variables[varname]

  robot.respond /^add value (\w+) (.*)$/, (msg) ->
    varname = msg.match[1]
    value = msg.match[2]
    lcvalue = value.toLowerCase()
