X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~yarrgweb/git?a=blobdiff_plain;f=yoweb-scrape;h=947e5e4c05d3089ee441a1cbf694c5c5e69d15f3;hb=36ef2485fc1765b20293197fd1a0d52054297204;hp=c3e6d73513adc3d5516252d8bd5c06ef706a26bd;hpb=7b1ebd0829f7e41fd3299cc1400c83a0c89a7552;p=ypp-sc-tools.web-test.git diff --git a/yoweb-scrape b/yoweb-scrape index c3e6d73..947e5e4 100755 --- a/yoweb-scrape +++ b/yoweb-scrape @@ -706,6 +706,11 @@ class ChatLogTracker: m = rm('(\\w+) officer chats, "(.*)"$') if m: return chat_metacmd('officer') + m = rm('Ye accepted the offer to job with ') + if m: + self._disembark_myself() + return d('taking-job') + m = rm('Game over\\. Winners: ([A-Za-z, ]+)\\.$') if m: pl = m.group(1).split(', ') @@ -961,7 +966,7 @@ def do_ship_aid(args, bu): s = "%s" % track.myname() vn = track.vessel() - if vn is None: s += " not on a vessel?!" + if vn is None: s += " not on a vessel" else: s += " on board the %s" % vn s += " at %s\n" % time.strftime("%Y-%m-%d %H:%M:%S")