Created
July 11, 2020 22:09
-
-
Save Anniepoo/0c9da4a5a75ac59ba2b6c609a3c92efb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
?: (what do I hate) ^keep() ^repeat() @0 = ^query(direct_sv %user hate ?) | |
if(^length(@0) = 0) { | |
You don't hate anything | |
} else if (^length(@0) = 1) { | |
You hate ^first(@0object). | |
} else if (^length(@0) = 2) { | |
You hate ^first(@0object) and ^first(@0object). | |
} else { | |
_1 = ^length(@0) - 1 | |
You hate | |
loop(_1){ | |
^first(@0object) ^", " | |
} | |
and ^first(@0object). | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment