1 --- tcl/protocol.tcl.orig Thu Jun 29 10:13:05 2000
2 +++ tcl/protocol.tcl Mon Jun 1 14:53:11 1998
4 proc ICB:PERSONAL {sender args} {
7 - UTIL:EchoArgs [list $sender personal] "<*$sender*> " $args
8 + UTIL:EchoArgs [list $sender personal] "[UTIL:TimeStamp] <*$sender*> " $args
11 proc ICB:OPEN {sender args} {
12 - UTIL:EchoArgs [list $sender open] "<$sender> " $args
13 + UTIL:EchoArgs [list $sender open] "[UTIL:TimeStamp] <$sender> " $args
16 proc ICB:ERROR {args} {
17 - UTIL:EchoArgs error "\[=Error=\] " $args
18 + UTIL:EchoArgs error "[UTIL:TimeStamp] \[=Error=\] " $args
21 proc ICB:BEEP {sender args} {
23 - UI:Output -type beep "\[=Beep!=\] $sender sent you a beep."
24 + UI:Output -type beep "[UTIL:TimeStamp] \[=Beep!=\] $sender sent you a beep."
27 proc ICB:STATUS {code argList} {
32 - set prefix "\[=ON @ $timeStamp=\]"
33 + set prefix "[UTIL:TimeStamp] \[=ON=\]"
37 - set prefix "\[=OFF @ $timeStamp=\]"
38 + set prefix "[UTIL:TimeStamp] \[=OFF=\]"
42 - set prefix "\[=$code=\]"
43 + set prefix "[UTIL:TimeStamp] \[=$code=\]"
49 # This doesn't seem to have any purpose.
51 - # UI:Output -type loginok "\[=LOGINOK=\] $sender $args"
52 + # UI:Output -type loginok "[UTIL:TimeStamp] \[=LOGINOK=\] $sender $args"
55 proc ICB:IMPORTANT {sender args} {
56 - UTIL:EchoArgs important "\[=$sender@[UTIL:TimeStamp]=\] " $args
57 + UTIL:EchoArgs important "[UTIL:TimeStamp] \[=$sender@[UTIL:TimeStamp]=\] " $args
60 proc ICB:EXIT {sender args} {
64 proc ICB:PONG {sender args} {
65 - UTIL:EchoArgs pong "\[=PONG=\] $sender " $args
66 + UTIL:EchoArgs pong "[UTIL:TimeStamp] \[=PONG=\] $sender " $args
69 proc ICB:AddConnectCallBack {command} {