!7 concept Happiness { long level; } p { db(); bot(); } answer { if "thanks" ret happy(); if "i love you" ret happy(); if "you did good" ret happy(); if "nice" ret happy(); if "how happy are you" ret "I am " + happiness().level + " times happy"; } sS happy() { happiness().level++; happiness().change(); tempShowEmotion("happy"); ret ":-)"; } static Happiness happiness() { ret uniq(Happiness); }