summaryrefslogtreecommitdiffstats
path: root/virtual-programs/errors.folk
diff options
context:
space:
mode:
Diffstat (limited to 'virtual-programs/errors.folk')
-rw-r--r--virtual-programs/errors.folk10
1 files changed, 9 insertions, 1 deletions
diff --git a/virtual-programs/errors.folk b/virtual-programs/errors.folk
index 28028710..32e34e73 100644
--- a/virtual-programs/errors.folk
+++ b/virtual-programs/errors.folk
@@ -6,6 +6,14 @@ When /p/ has error /err/ with info /info/ {
Wish $p is outlined red
}
}
-
Wish $p is titled $err
}
+
+When /p/ has warning /w/ with info /info/ {
+ When the clock time is /t/ {
+ if {[expr {(int($t * 5)) % 2}] != 1} {
+ Wish $p is outlined yellow
+ }
+ }
+ Wish $p is titled $w
+}