From 4f60dac8f9eee7c7596cb848c1043dfea0fd58a0 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 b1a639f02391d0f832422c7254dc0544d8812f0e..b8772f717fda532d57995d7fcd63a7774d080ad8 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