added possibility for subcommands
[NeonServV5.git] / src / modcmd.h
index 4ba89a96a4090ed2df73fc3f135673c589242bf6..44333b53e22c9b80075427e66dc8707a132a721d 100644 (file)
@@ -34,6 +34,7 @@
 #define CMDFLAG_REQUIRED                0x0800
 #define CMDFLAG_TEMPONARY_BIND          0x1000
 #define CMDFLAG_FUNCMD                  0x2000
+#define CMDFLAG_ESCAPE_ARGS             0x4000
 
 struct ClientSocket;
 struct UserNode;
@@ -65,6 +66,7 @@ struct cmd_binding {
     int paramcount;
     int global_access;
     char *channel_access;
+    int triggered;
     
     struct cmd_binding *next;
 };
@@ -76,6 +78,8 @@ struct trigger_cache {
     struct trigger_cache *next;
 };
 
+extern int statistics_commands;
+
 void init_modcmd();
 void free_modcmd();
 struct ClientSocket* get_prefered_bot(int botid);