Add a hundred limes

This commit is contained in:
Nick Chambers 2021-07-03 17:58:54 -05:00
parent a42e273453
commit 88014f6e22
1 changed files with 16 additions and 0 deletions

16
rowbot
View File

@ -1088,6 +1088,22 @@ hook_post_NICK_alternick() {
fi
}
hook_cmd_limes() {
local limes
case $action in
uplime)
(( limes = (RANDOM % 42) + 1 ))
if [[ $from = Time-Warp ]]; then
limes=42
fi
(( limeification = (limes * 100) / 42 ))
privmsg "$to" "$limes limes (limes to $limeification%)"
esac
}
###
# driver
###