Appearance
If / elif / else
ts
ctx.if(s.greaterThan(20), (b) => { b.say("High"); b.say("Very") })
.elif(s.equal(4), (b) => { b.say("Medium"); b.say("Four") })
.else((b) => b.say("Low"));text
main function ns:zzzprivate/main/if_0_chain
zzzprivate/main/if_0_chain execute if score ... matches 21.. run return run function .../if_0
execute if score ... matches 4 run return run function .../elif_0
say Lowreturn run stops at the first matching branch, so no condition is checked after a body ran. A lone if is one execute if ... run line. 16+ ranges on one score become a binary search.