say()
say("what")
say('time')
say("who you callin chicken", "chicken")
say("ain't that some shit", "poop")
say("icanhazpdf?", "cat")
say("boo!", "pumpkin")
say("hot diggity", "frog")
say("fortune", "spider")
say("fortune", "facecat")
say("fortune", "behindcat")
say("fortune", "smallcat")
say("fortune", "monkey")
say("fortune", "egret")
say("rms", "rms")
# Vary type of output, default calls message()
say("hell no!")
say("hell no!", type="warning")
say("hell no!", type="string")
# Using fortunes
say(what="fortune")
## you don't have to pass anything to the `what` parameter if `fortune` is
## not null
say(fortune=10)
say(fortune=100)
say(fortune='whatever')
say(fortune=7)
say(fortune=45)
# Using catfacts
# say("catfact", "cat")
# The hypnotoad
say(by="hypnotoad")
# Trilobite
say(by='trilobite')
# Shark
say('Q: What do you call a solitary shark\nA: A lone shark', by='shark')
# Buffalo
say('Q: What do you call a single buffalo?\nA: A buffalonely', by='buffalo')
# Clippy
say(fortune=59, by="clippy")
Run the code above in your browser using DataLab