Index: /trunk/FACT++/src/StateMachineDimControl.cc
===================================================================
--- /trunk/FACT++/src/StateMachineDimControl.cc	(revision 14211)
+++ /trunk/FACT++/src/StateMachineDimControl.cc	(revision 14212)
@@ -480,5 +480,5 @@
         {
             Error("--start, --batch, --stop are mutually exclusive to --server.");
-            return 2;
+            return 3;
         }
         return -1;
@@ -488,5 +488,5 @@
     {
         Error("--start, --batch and --stop are all mutually exclusive.");
-        return 1;
+        return 4;
     }
 
@@ -500,4 +500,7 @@
         return Dim::SendCommand("DIM_CONTROL/EXECUTE", conf.Get<string>("batch")+" user="+fUser) + 1;
 
+    if (conf.Has("msg"))
+        return Dim::SendCommand("CHAT/MSG", fUser+": "+conf.Get<string>("msg")) + 1;
+
     return -1;
 }
