From 614b00a3997b66b72233608df312afb7c1b0e0b4 Mon Sep 17 00:00:00 2001 From: Aleteoryx Date: Thu, 15 Aug 2024 22:10:54 +0100 Subject: [PATCH] fill out handler types add multithreading, make removals smarter, change semantics here and there --- irc.tcl | 202 ++++++++++++++++++++++++++++++++++++++++---------------- 1 file changed, 144 insertions(+), 58 deletions(-) mode change 100755 => 100644 irc.tcl diff --git a/irc.tcl b/irc.tcl old mode 100755 new mode 100644 index b7ebbf7..8c680dc --- a/irc.tcl +++ b/irc.tcl @@ -1,18 +1,23 @@ #!/bin/tclsh # handler types: -# chan // irc::listener -# passes to a pipe to a sub-interpreter +# chan // irc::listener +# tchan // irc::listener -thread +# passes to a pipe to a sub-interpreter/thread # extern // irc::extern # dispatches chan+raw IRC to generic IPC ochanid # for non-tcl plugins # ichanid is listened on for IRC commands to send over the socket # script