Add a hundred limes
This commit is contained in:
parent
a42e273453
commit
88014f6e22
16
rowbot
16
rowbot
|
@ -1088,6 +1088,22 @@ hook_post_NICK_alternick() {
|
||||||
fi
|
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
|
# driver
|
||||||
###
|
###
|
||||||
|
|
Loading…
Reference in New Issue