github/hubot-scripts — pull request #345 by logikal (2012-03-17 01:11:17+00:00)
Title: Add a 'decide' script

Sometimes you just want more options than heads or tails. decide.coffee adds a method to decide between multiple quoted options, separated by spaces.

e.g.
hubot: decide "Vodka Tonic" "Tom Collins" "Rum & Coke"
Definitely "Vodka Tonic".