!752 static volatile S name = "A-yet-unnamed-copy-of-Eleutheria"; static volatile S url, baseURL; // baseURL is the one that bots are under p { load("name"); load("url"); load("baseURL"); } synchronized answer { if "what is your name" ret name; if "what is your url" ret url; if "what is your base url" ret baseURL; if "your name is *" { S n = m.unq(0); if (eq(n, name)) ret "Yes."; else if (webAuthed()) { name = n; save("name"); ret format("OK, master! I am now *", name); } else ret "Only my master can tell me that..."; } if "your url is *" if (webAuthed()) { if (!isURL(m.unq(0))) ret "woot, master?"; url = m.unq(0); save("url"); ret "OK"; } if "your base url is *" if (webAuthed()) { if (!isURL(m.unq(0))) ret "woot, master?"; baseURL = m.unq(0); save("baseURL"); ret "OK"; } } static S getName() { ret name; } static S getURL() { ret url; } static S getBaseURL() { ret baseURL; }