From 53b6a18d01df06995ae426eeda47ec13879d25be Mon Sep 17 00:00:00 2001 From: radical_honesty on #flashsupport Date: Sat, 7 Jan 2023 19:08:19 -0800 Subject: [PATCH] Evaluated proc color args {if ![llength $args] {return };if {[lindex $args 0] eq "default"} {return };set ret \x03[color_of [lindex $args 0]]; if {[llength $args] > 1} {if {[lindex $args 1] eq "on"} {append ret ,[color_of [lindex $args 2]]} {append ret ,[color_of [lindex $args 1]]}}; return $ret} --- procs/6dd0fe8001145bec4a12d0e22da711c4970d000b | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/procs/6dd0fe8001145bec4a12d0e22da711c4970d000b b/procs/6dd0fe8001145bec4a12d0e22da711c4970d000b index c59198c..9f6c41f 100644 --- a/procs/6dd0fe8001145bec4a12d0e22da711c4970d000b +++ b/procs/6dd0fe8001145bec4a12d0e22da711c4970d000b @@ -1 +1 @@ -args {if ![llength $args] {return };if {[lindex $args 0] eq "default"} {return };set ret \x[color_of [lindex $args 0]]; if {[llength $args] > 1} {if {[lindex $args 1] eq "on"} {append ret ,[color_of [lindex $args 2]]} {append ret ,[color_of [lindex $args 1]]}}; return $ret} +args {if ![llength $args] {return };if {[lindex $args 0] eq "default"} {return };set ret \x03[color_of [lindex $args 0]]; if {[llength $args] > 1} {if {[lindex $args 1] eq "on"} {append ret ,[color_of [lindex $args 2]]} {append ret ,[color_of [lindex $args 1]]}}; return $ret}