Permalink
Browse files

something to do with rip???

  • Loading branch information...
1 parent 17b45de commit 4823dd3676f9dfd1bc550b00bbd6eb32f3b6a859 ally gator committed Mar 4, 2012
Showing with 17 additions and 0 deletions.
  1. +17 −0 plugins/rip.py
View
@@ -17,3 +17,20 @@ def rip(inp, say=None):
headstone = [top, rip, nmr, lsr, btm]
for l in headstone:
say(l)
+
+@hook.command
+def bread(inp, say=None):
+ inp = str(inp)
+ topfiller = str.center('', len(inp)-1, '-')
+
+ top = ' .' + topfiller + '-.\n'
+
+ width = len(top)-3
+
+ rip = ' |' + str.center('', width) + '|\n'
+ nmr = ' |' + str.center(inp.upper(), width) + '|\n'
+ lsr = ' |' + str.center('', width, '_') + '|\n'
+
+ headstone = [top, rip, nmr, lsr]
+ for l in headstone:
+ say(l)

0 comments on commit 4823dd3

Please sign in to comment.