summaryrefslogtreecommitdiffstats
path: root/virtual-programs/errors.folk
diff options
context:
space:
mode:
authorArcade Wise <l3gacy.b3ta@disroot.org>2023-09-09 20:39:42 +0000
committerArcade Wise <l3gacy.b3ta@disroot.org>2023-09-09 20:39:42 +0000
commitf34b062d36e985443c317d42bd6e9492a164c855 (patch)
tree244c2e372d74f449caf22a546b6c575705455dd1 /virtual-programs/errors.folk
parentSome peering cleanup (receive before Step); build in FPS counting (diff)
downloadfolk-f34b062d36e985443c317d42bd6e9492a164c855.tar.gz
folk-f34b062d36e985443c317d42bd6e9492a164c855.zip
visual errors!
Diffstat (limited to 'virtual-programs/errors.folk')
-rw-r--r--virtual-programs/errors.folk11
1 files changed, 11 insertions, 0 deletions
diff --git a/virtual-programs/errors.folk b/virtual-programs/errors.folk
new file mode 100644
index 00000000..faf061d9
--- /dev/null
+++ b/virtual-programs/errors.folk
@@ -0,0 +1,11 @@
+When /p/ has error /err/ with info /info/ {
+ When the clock time is /t/ {
+ if {[expr [expr int($t)] % 2] == 1} {
+ Wish $p is outlined white
+ } else {
+ Wish $p is outlined red
+ }
+ }
+
+ Wish $p has title $err
+} \ No newline at end of file