summaryrefslogtreecommitdiff
path: root/chess-ics.el
diff options
context:
space:
mode:
Diffstat (limited to 'chess-ics.el')
-rw-r--r--chess-ics.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/chess-ics.el b/chess-ics.el
index 020fa44..9d5c9bb 100644
--- a/chess-ics.el
+++ b/chess-ics.el
@@ -88,6 +88,11 @@ The format of each entry is:
(lambda ()
(if (string= (match-string 1) chess-engine-opponent-name)
(funcall chess-engine-response-handler 'resign)))))
+ (cons "\\(\\S-+\\) forfeits on time}"
+ (function
+ (lambda ()
+ (if (string= (match-string 1) chess-engine-opponent-name)
+ (funcall chess-engine-response-handler 'flag-fell)))))
(cons "Illegal move (\\([^)]+\\))\\."
(function
(lambda ()