From af344dd5840709dd57c7aac057357e0ce6edcf87 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Tue, 1 Jan 2019 16:06:31 +0000 Subject: Add FAQ link --- scripts/toy.groovy | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'scripts') 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 ], ]; -- cgit v1.2.3