Oblique stuff and fixes.

This commit is contained in:
Sean B. Palmer
2008-10-29 16:03:12 +00:00
parent b91de3886e
commit fe16d21212
5 changed files with 52 additions and 28 deletions

View File

@@ -71,7 +71,8 @@ def u(phenny, input):
if not arg:
return phenny.reply('You gave me zero length input.')
elif not arg.strip(' '):
return phenny.reply('%s SPACES' % len(arg))
if len(arg) > 1: return phenny.reply('%s SPACEs (U+0020)' % len(arg))
return phenny.reply('1 SPACE (U+0020)')
# @@ space
if set(arg.upper()) - set(