summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/toy.groovy4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/toy.groovy b/scripts/toy.groovy
index 8bb614b..d16e13c 100644
--- a/scripts/toy.groovy
+++ b/scripts/toy.groovy
@@ -1556,6 +1556,9 @@ def setupShowState = {
}.join());
showButton("OK");
};
+def showFaq = {
+ useUrl("http://toy.randomdan.homeip.net/");
+};
def setupShowCalendar = {
final events = loadEvents();
show(
@@ -1631,6 +1634,7 @@ while (true) {
final clickTime = showButton("Please, Miss?", waitTime);
if (clickTime < waitTime) {
def opts = [
+ [ lbl: "FAQ", act: showFaq ],
[ lbl: "Calendar", act: setupShowCalendar ],
[ lbl: "Confess", act: confess ],
];