Starting with ‘thing’
%thing%
$if(If,then, else)
If this
, you get that
, if not, something_else
So you add either that
or something_else
to %thing%
…or you still have just %thing%
$if(if,then)
You either get %thing%
with then
added to it, or you still just have %thing%
.
$if2(a1,a2,a3)
If this
, is that
, or the_other_thing
, or the greatest_thing
.
…so you now have %thing%
plus whichever one of those got on the bus first.
…or just still just have %thing%
Would this:
$if($eq(%thing%,1),
we get %thing%
…or Nothing [Done]
. . .$if($eq(%that%,1),
we get %that%%thing%
or Just %thing%
[Done]
. . . . $if($eq(%messy%,1),
we get %that%%messy%%thing%
or Just %that%%thing%
[Done]
. . . . . $if($eq(%green%,1),
we get %that%%messy%%green%%thing%
Just %that%%messy%%thing%
. . . . . . $if($eq(%red%,1),
we get %that%%red%%messy%%green%%thing%)
or Just %that%%messy%%green%%thing%
. . . . . . . and we're in 4 deep.
. . . . . . . . . $if($eq(%gross%,1),%that%%messy%%green%%gross%%thing%)
. . . . . . . . . $if($eq(%sticky%,1),%that%%messy%%green%%sticky%%thing%)
. . . . . . . . . $if($eq(%filthy%,1),%that%%messy%%green%filthy%%thing%)
)
)
)
)
)
)
Just writing that was crazy. I’ve got something wonky going on and I’m sure it’s related to ‘if’ depth, but I can’t quite find it.