Problem is that $rgb needs to be seperated by commas and does not adhere to $identifiers (%vars alone with seperated commas) Im sure theres a loophole

Code:
alias hex_ {
  if (!$1) { return }
  var %hex_ = $iif(# isin $1,$right($1,-1),$1)
  %hex_a = $base($left(%hex_,2),16,10) | %hex_b = $base($mid(%hex_,3,2),16,10) | %hex_c = $base($right(%hex_,2),16,10)
  return $rgb(%hex_a,%hex_b,%hex_c)
}


$rgb call within the hex_ command is suitable with its own seperated val returns


Code:
if $reality > $fiction { set %sanity Sane }
Else { echo -a *voices* }