chiark / gitweb /
Document what TALK and ACT mean etc.
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 6 Feb 2002 15:10:18 +0000 (15:10 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 6 Feb 2002 15:10:18 +0000 (15:10 +0000)
bot.tcl
telling.fig

diff --git a/bot.tcl b/bot.tcl
index 8f25e2977983a4807d9902148ea95511124c2558..01113635984261ec7cf107ea807355c0de497859 100755 (executable)
--- a/bot.tcl
+++ b/bot.tcl
@@ -154,7 +154,7 @@ proc check_telling {nl event} {
            check_telling_core $nl talk
            check_telling_core $nl act
        }
-       act - come {
+       act {
            after 750 [list check_telling_core $nl $event]
        }
        default {
@@ -164,7 +164,7 @@ proc check_telling {nl event} {
 }
 
 proc check_telling_core {nl event} {
-    # event is `talk', `act' or `come'
+    # event is `talk' or `act'
     # When user talks we actually get talk now and act later
 FIXME - make it be called with come
 FIXME - implement all cmds
index 6aaeaf6e675872a04d46c040829e4bb252c370d0..9de60ab68c5d04b17c82db9408fb8a382a10c07d 100644 (file)
@@ -103,19 +103,23 @@ Single
         0.000 1.000 1.000 1.000 1.000 0.000
 3 0 0 1 0 7 50 0 -1 0.000 0 1 0 11
        0 0 1.00 60.00 120.00
-        5580 8910 5580 9540 5670 10260 6030 10350 7650 10260 7920 9810
+        5490 8955 5400 9540 5715 10260 6030 10350 7650 10260 7920 9810
         7830 6300 7560 5760 5670 5760 5400 6120 5400 6300
         0.000 1.000 1.000 1.000 1.000 1.000 1.000 1.000
         1.000 1.000 0.000
 3 0 0 1 0 7 50 0 -1 0.000 0 1 0 6
        0 0 1.00 60.00 120.00
-        5580 10530 5490 10980 5310 11430 4050 11250 3600 8820 3330 8640
+        5490 10440 5400 10980 5130 11385 4050 11250 3600 8820 3330 8640
         0.000 1.000 1.000 1.000 1.000 0.000
 3 0 0 1 0 7 50 0 -1 0.000 0 1 0 7
        0 0 1.00 60.00 120.00
-        5580 9540 5580 10350 5670 11430 6120 11430 7740 11340 7830 10530
+        5445 9540 5445 10395 5760 11385 6435 11475 7740 11340 7830 10530
         7830 9720
         0.000 1.000 1.000 1.000 1.000 1.000 0.000
+3 0 0 1 0 7 50 0 -1 0.000 0 1 0 6
+       0 0 1.00 60.00 120.00
+        6210 8820 6300 9180 6615 9855 7560 9720 7830 9585 7830 9450
+        0.000 1.000 1.000 1.000 1.000 0.000
 4 0 0 50 0 0 12 0.0000 4 135 1065 6255 1620 NO RECORD\001
 4 0 0 50 0 0 12 0.0000 4 135 480 6030 2250 TALK\001
 4 0 0 50 0 0 12 0.0000 4 135 705 5310 8550 PASSED\001
@@ -135,7 +139,6 @@ Single
 4 0 0 50 0 0 12 0.0000 4 180 990 1980 8730 Delete Msgs\001
 4 0 0 50 0 0 12 0.0000 4 135 480 990 6030 TALK\001
 4 0 0 50 0 0 12 0.0000 4 135 555 3330 6030 IDENT\001
-4 0 0 50 0 0 12 0.0000 4 135 480 5670 9180 TALK\001
 4 0 0 50 0 0 12 0.0000 4 135 885 6390 8100 NEW MSG\001
 4 0 0 50 0 0 12 0.0000 4 135 285 7920 8910 late\001
 4 0 0 50 0 0 12 0.0000 4 90 360 7200 9000 soon\001
@@ -147,11 +150,20 @@ Single
 4 0 0 50 0 2 12 0.0000 4 180 3615 630 630 State diagram for !tell and related commands\001
 4 0 0 50 0 0 12 0.0000 4 180 1665 1890 6750 NEW MSG is ignored\001
 4 0 0 50 0 0 12 0.0000 4 135 810 3960 8460 DEL MSG\001
-4 0 0 50 0 0 12 0.0000 4 135 555 4590 9000 IDENT\001
-4 0 0 50 0 0 12 0.0000 4 180 735 4500 9180 is ignored\001
 4 0 0 50 0 0 12 0.0000 4 180 1665 7020 990 NEW MSG is ignored\001
-4 0 0 50 0 0 12 0.0000 4 135 735 4680 10980 very soon\001
-4 0 0 50 0 0 12 0.0000 4 150 1020 5760 11070 not very soon\001
 4 0 0 50 0 0 12 0.0000 4 150 480 5760 10080 pester\001
-4 0 0 50 0 0 12 0.0000 4 135 510 5040 10170 remind\001
-4 0 0 50 0 1 12 0.0000 4 195 4485 3960 13050 $Id: telling.fig,v 1.1.2.2 2002-02-05 18:54:56 ijackson Exp $\001
+4 0 0 50 0 1 12 0.0000 4 195 4485 3960 13050 $Id: telling.fig,v 1.1.2.3 2002-02-06 15:10:18 ijackson Exp $\001
+4 0 0 50 0 0 12 0.0000 4 135 360 1080 6255 ACT\001
+4 0 0 50 0 0 12 0.0000 4 135 360 6390 9180 ACT\001
+4 0 0 50 0 0 12 0.0000 4 135 360 6120 2475 ACT\001
+4 0 0 50 0 0 12 0.0000 4 135 510 4905 10080 remind\001
+4 0 0 50 0 0 12 0.0000 4 135 735 4590 10935 very soon\001
+4 0 0 50 0 0 12 0.0000 4 150 1020 5715 10935 not very soon\001
+4 0 0 50 0 0 12 0.0000 4 135 480 5535 9225 TALK\001
+4 0 0 50 0 0 10 0.0000 4 135 2745 450 7740 ACT happens 750ms after user does anything\001
+4 0 0 50 0 0 10 0.0000 4 135 2730 540 7920 provided user doesn't vanish in the meantime\001
+4 0 0 50 0 0 10 0.0000 4 135 2880 540 7470 to actual in-channel speech (including emotes)\001
+4 0 0 50 0 0 12 0.0000 4 135 555 4410 8955 IDENT\001
+4 0 0 50 0 0 12 0.0000 4 180 735 4410 9135 is ignored\001
+4 0 0 50 0 0 10 0.0000 4 135 2790 450 7290 TALK happens immediately, but only applies\001
+4 0 0 50 0 0 10 0.0000 4 135 2850 450 8190 If user goes away, we go back to NO RECORD\001