From beccbe4acf0fd3de9928e11ccf6083eeeb2706ae Mon Sep 17 00:00:00 2001 From: Aleteoryx Date: Sat, 3 Aug 2024 02:20:24 +0100 Subject: [PATCH] protocol done, but for 2 listener types and some polish --- irc.tcl | 436 +++++++++++++++++++++++++++++++++++++++++++++++++------- 1 file changed, 385 insertions(+), 51 deletions(-) diff --git a/irc.tcl b/irc.tcl index b1a639f..b8772f7 100755 --- a/irc.tcl +++ b/irc.tcl @@ -1,22 +1,47 @@ #!/bin/tclsh +# handler types: +# chan // irc::listener +# passes to a pipe to a sub-interpreter +# 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