Skip to content

Instantly share code, notes, and snippets.

@Anniepoo
Created July 11, 2020 22:09
Show Gist options
  • Save Anniepoo/0c9da4a5a75ac59ba2b6c609a3c92efb to your computer and use it in GitHub Desktop.
Save Anniepoo/0c9da4a5a75ac59ba2b6c609a3c92efb to your computer and use it in GitHub Desktop.
?: (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