!7 cmodule CurrentTimeDialog > DynSayAndInputBot { class Bot extends AbstractSayAndInputBot2 implements Runnable { public void run { say("Do you want to know the current time?"); S s = input(); if (yes()) sayTime(); else say("OK"); } void sayTime { say("It is " + localTime_24()); } } Bot makeBot() { ret new Bot; } }