Warning: session_start(): open(/var/lib/php/sessions/sess_583bre0jgkai2b4sfu34bvapp2, O_RDWR) failed: No space left on device (28) in /var/www/tb-usercake/models/config.php on line 51
Warning: session_start(): Failed to read session data: files (path: /var/lib/php/sessions) in /var/www/tb-usercake/models/config.php on line 51
static S (L bots, S s) {
re
for (O c : bots) try {
S answer = callStaticAnswerMethod(c, s);
if (!empty(answer)) ret answer;
} catch (Throwable e) {
print("Error calling " + getProgramID(c));
e.printStackTrace();
}
ret null;
}
static S callStaticAnswerMethod(O c, S s) {
S answer = (S) callOpt(c, "answer", s, litlist(s));
if (answer == null)
answer = (S) callOpt(c, "answer", s);
return emptyToNull(answer);
}
static S callAnswerFunctionVerbose(S s) {
print("> " + s);
S answer = callStaticAnswerMethod(mc(), s);
print("< " + answer);
ret answer;
}
static S callStaticAnswerMethod(S s, L history) {
ret callStaticAnswerMethod(mc(), s, history);
}
static S callStaticAnswerMethod(O c, S s, L history) {
S answer = (S) callOpt(c, "answer", s, history);
if (answer == null)
answer = (S) callOpt(c, "answer", s);
return emptyToNull(answer);
}