|
on_login(s,
loc,
toks)
Callback function called when login parser matches. |
source code
|
|
|
on_password(s,
loc,
toks)
Callback function called when password parser matches. |
source code
|
|
|
on_sessionstart(s,
loc,
toks)
Callback function called when sessionstart parser matches. |
source code
|
|
|
on_invalidlogin(s,
loc,
toks)
Callback function called when invalidlogin parser matches. |
source code
|
|
|
on_invalidpass(s,
loc,
expr,
err)
Callback function called when invalidpass parser matches. |
source code
|
|
|
|
|
beginbr = Suppress:("(")
|
|
endbr = Suppress:(")")
|
|
handle = W:(abcd...)
|
|
tag = {{Suppress:("(") Re:('CA|SR|TM|TD|C|U|\\*')} Suppress:("...
|
|
line = Re:('.*')
|
|
ivars_set = "#Ivars set."
|
|
stars = Suppress:("****")
|
|
telnet_seq = Suppress:({{"\xff" Re:('[\xfb\xfc]')} ""})
|
|
integer = ToInteger:(W:(0123...))
|
|
wrap = Suppress:("\ ")
|
|
ch = {{Suppress:("(") ToInteger:(W:(0123...))} Suppress:(")")}
|
|
rating = Re:('[\\d\\+]{1,4}')
|
|
rating_ex = Re:('[\\d]{1,4}[PE ]')
|
|
result = Re:('1\\-0|0\\-1|1\\/2\\-1\\/2|\\*')
|
|
rated = Re:('[ru]')
|
|
tp = Re:('blitz|standard')
|
|
colour = Re:('\\?|white|black')
|
|
auto = Re:('[tf]')
|
|
formula = Re:('[tf]')
|
|
nick = {W:(abcd...) [{{{Suppress:("(") Re:('CA|SR|TM|TD|C|U|\\...
|
|
eol = {Suppress:({LineEnd LineStart}) [Suppress:("\ ")]}
|
|
msg = {Re:('.*') [{{Suppress:({LineEnd LineStart}) [Suppress:(...
|
|
say = {{{W:(abcd...) [{{{Suppress:("(") Re:('CA|SR|TM|TD|C|U|\...
|
|
tell = {{{W:(abcd...) [{{{Suppress:("(") Re:('CA|SR|TM|TD|C|U|...
|
|
ctell = {{{{W:(abcd...) [{{{Suppress:("(") Re:('CA|SR|TM|TD|C|...
|
|
qtell = {":" {Re:('.*') [{{Suppress:({LineEnd LineStart}) [Sup...
|
|
shout = {{{W:(abcd...) [{{{Suppress:("(") Re:('CA|SR|TM|TD|C|U...
|
|
cshout = {{{W:(abcd...) [{{{Suppress:("(") Re:('CA|SR|TM|TD|C|...
|
|
it = {{"-->" {W:(abcd...) [{{{Suppress:("(") Re:('CA|SR|TM|TD|...
|
|
state = Re:('arrived|departed')
|
|
notify = {{{{"Notification:" {W:(abcd...) [{{{Suppress:("(") R...
|
|
msgs = {{{{{"You have" ToInteger:(W:(0123...))} "messages"} Su...
|
|
adj = {{"You have" ToInteger:(W:(0123...))} "adjourned games."}
|
|
inc = {"Present company includes:" {W:(abcd...)}...}
|
|
si = {{{{{{{{{{{{{{{{{{{{{{{{{"<s>" ToInteger:(W:(0123...))} "...
|
|
sr = {"<sr>" {ToInteger:(W:(0123...))}...}
|
|
login = "login: "
|
|
password = "password: "
|
|
invalidlogin = Re:('Press\\ return\\ to\\ enter\\ the\\ server...
|
|
invalidpass = {{Suppress:("****") "Invalid password!"} Suppres...
|
|
sessionstart = {{{{Suppress:("****") "Starting FICS session as...
|
|
unknown = Re:('.*')
|
|
authparser = {{{{{{"login: " | "password: "} | {{{{Suppress:("...
|
|
parser = {{{{{{{{{{{{{{{{"You have" ToInteger:(W:(0123...))} "...
|
|
mainparser = {{{{{{"login: " | "password: "} | {{{{Suppress:("...
|