 # 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>

  # constructor
  robot.brain.data.variables = {}

  robot.hear /^create var (\w+)$/, (msg) ->
    varname = msg.match[1]
    if robot.brain.data.variables[varname]
      msg.reply "Sorry, Variable of '" + varname + "' already exists."

    }
    msg.reply "Okay."

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