 
   robot.respond /order my/i, (msg) ->
     commands = new CommandStore msg
+    categoryMoney = 0
+    totalMoney = 0
     flag = false
     user = msg.message.user.name
     for categoryName, category of robot.brain.data.order
       for userName, order of category when userName is user
         if order?
           commands.Add order
+          categoryMoney += parseInt( order.money, 10 )
+          totalMoney += parseInt( order.money, 10 )
           flag = true
+      if categoryMoney isnt 0
+        commands.Add "Category ${categoryName} total : #{categoryMoney}"
+        categoryMoney = 0
+        flag = true
 
     if (flag isnt true)
       commands.Add "you have no order."
+    else
+      commands.Add "Total money : #{totalMoney}"
     commands.Send()
 
   robot.respond /order cate(?:g?o?r?y?) (\S*)/i, (msg) ->

          totalMoney += parseInt( order.money, 10 )
          flag = true
      if totalMoney isnt 0
        commands.Add "Total money : #{totalMoney}"
        totalMoney = 0
        flag = true


          commands.Add order
          totalMoney += parseInt( order.money, 10 )
      if totalMoney isnt 0
        commands.Add "Category ${categoryName} total : #{totalMoney}"
        totalMoney = 0
        flag = true
  
