#define CMDFLAG_OPLOG 0x0200
#define CMDFLAG_EMPTY_ARGS 0x0400
#define CMDFLAG_REQUIRED 0x0800
+#define CMDFLAG_TEMPONARY_BIND 0x1000
+#define CMDFLAG_FUNCMD 0x2000
+#define CMDFLAG_ESCAPE_ARGS 0x4000
struct ClientSocket;
struct UserNode;
int paramcount;
int global_access;
char *channel_access;
+ int triggered;
struct cmd_binding *next;
};
struct trigger_cache *next;
};
+extern int statistics_commands;
+
void init_modcmd();
void free_modcmd();
struct ClientSocket* get_prefered_bot(int botid);
struct cmd_binding *find_cmd_binding(int botid, char *cmd);
void bind_unbound_required_functions(int botid);
+void register_command_alias(int botid, char *alias);
+struct cmd_binding *getAllBinds(struct cmd_binding *last);
+
#endif
\ No newline at end of file