trick-or-treat - annna - Annna the nice friendly bot. | |
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6… | |
Log | |
Files | |
Refs | |
Tags | |
README | |
--- | |
trick-or-treat (349B) | |
--- | |
1 #!/bin/sh | |
2 | |
3 export PATH="/home/annna/bin:$PATH" | |
4 | |
5 case "$(( $RANDOM % 2 ))" in | |
6 1) | |
7 case "$(( $RANDOM % 3 ))" in | |
8 0) candy="🍬";; | |
9 1) candy="🍭";; | |
10 2) candy="🍫";; | |
11 esac | |
12 printf "you are so kind. Here is a candy: ${candy}" | |
13 ;; | |
14 0) | |
15 printf "BOO! ༼ つ ╹ ╹ ༽つ Did I scare you? Here's a sp… | |
16 ;; | |
17 esac | |
18 |