Skip to content

Commit

Permalink
something to do with rip???
Browse files Browse the repository at this point in the history
  • Loading branch information
ally gator committed Mar 4, 2012
1 parent 17b45de commit 4823dd3
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions plugins/rip.py
Expand Up @@ -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.