summaryrefslogtreecommitdiff
path: root/scripts/cowsay.lua
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/cowsay.lua')
-rw-r--r--scripts/cowsay.lua26
1 files changed, 26 insertions, 0 deletions
diff --git a/scripts/cowsay.lua b/scripts/cowsay.lua
index 6f0588e..5d9a80d 100644
--- a/scripts/cowsay.lua
+++ b/scripts/cowsay.lua
@@ -50,6 +50,27 @@ end
function ascii_pc( pccmd )
end
+function ascii_dickbutt( name )
+ local s = ""
+ if name == nul then name = "" else
+ name = "("..name..")\n" end
+ s = s .. [[
+ ___
+/ \ <--- ]] .. name .. [[
+|o o|
+| > |
+|__/| /\
+| |_ ||
+| | \||
+| J )_)
+ \____/
+ |
+ ='
+]]
+ return s
+end
+
+v="help"
for k,v in ipairs(arg) do
if v == "nerd" then
print( ascii_nerd( arg[k+1] ) )
@@ -57,5 +78,10 @@ for k,v in ipairs(arg) do
print( ascii_goat( arg[k+1] ) )
elseif v == "shoot" then
print( ascii_shoot( arg[k+1] ) )
+ elseif v == "dickbutt" then
+ print( ascii_dickbutt( arg[k+1] ) )
end
end
+--if v == "help" then
+-- print("usage: sayp [nerd|goat|shoot|dickbutt] [name]")
+--end