From 688779fbc61d48046199d1f45549720e289ce417 Mon Sep 17 00:00:00 2001 From: Lukasz Kasprzak Date: Thu, 21 May 2026 18:56:19 +0200 Subject: Added support for user generated shell scripts: - create a director with shell scripts - call them within the chat with @ - four sample scripts --- config.def.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'config.def.h') diff --git a/config.def.h b/config.def.h index 759a941..72b9be6 100644 --- a/config.def.h +++ b/config.def.h @@ -41,3 +41,5 @@ static const char *ROOMS[] = { #define HISTORY_CONTEXT 50 /* messages used when no period given */ #define KEEPALIVE_SEC 60 /* whitespace keepalive interval */ #define TLS_VERIFY 1 /* 1 = verify server TLS certificate */ +#define CMD_DIR "cmd" /* dir of @scriptname command scripts */ +#define CMD_TIMEOUT_SEC 10 /* kill a command script after N sec */ -- cgit v1.3