summaryrefslogtreecommitdiff
path: root/scripts/cowsay.lua
diff options
context:
space:
mode:
authorepochqwert <epoch@hacking.allowed.org>2018-12-19 19:33:37 +0000
committerepochqwert <epoch@hacking.allowed.org>2018-12-19 19:33:37 +0000
commit36f7747780ea5f459e17f34c42d646abff6e6dbc (patch)
treea72a0c3f6fa918323b37bff7da047c08a8bdb9a4 /scripts/cowsay.lua
parentff822dd2295faa2e3fce3fe2bde391c5a1ad53e7 (diff)
downloadsegfault_home-36f7747780ea5f459e17f34c42d646abff6e6dbc.tar.gz
segfault_home-36f7747780ea5f459e17f34c42d646abff6e6dbc.zip
updated scripts, and xchg stuff added
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