New random command: wargames

git-svn-id: https://kippo.googlecode.com/svn/trunk@42 951d7100-d841-11de-b865-b3884708a8e2
This commit is contained in:
desaster 2009-11-21 13:25:14 +00:00
parent bb422a60fc
commit 675dbadaa0
1 changed files with 13 additions and 0 deletions

View File

@ -30,3 +30,16 @@ class command_orly(HoneyPotCommand):
return return
self.orly() self.orly()
clist.append(command_orly) clist.append(command_orly)
class command_wargames(HoneyPotCommand):
def start(self):
self.write('Shall we play a game? ')
def lineReceived(self, data):
self.writeln('A strange game. ' + \
'The only winning move is not to play. ' + \
'How about a nice game of chess?')
self.exit()
clist.append(command_wargames)
# vim: set sw=4 et: