Add activity change

This commit is contained in:
Marco Pesenti Gritti
2006-10-09 18:29:54 +02:00
parent c9b5381c16
commit b309da53f6
4 changed files with 24 additions and 9 deletions
+1 -1
View File
@@ -3,6 +3,6 @@ from sugar.simulator import Bot
bot = Bot()
bot.name = 'chaitanya'
bot.share_chat('All About Giraffes')
bot.share_chat('giraffes', 'All About Giraffes')
bot.start()
+4
View File
@@ -2,4 +2,8 @@ from sugar.simulator import Bot
for i in range(0, 10):
bot = Bot()
bot.wait(5)
bot.change_activity('giraffes')
bot.start()
+1 -2
View File
@@ -3,7 +3,6 @@ from sugar.simulator import Bot
bot = Bot()
bot.name = 'penelope'
bot.wait(20)
bot.share_chat('Nekkhamma')
bot.share_chat('nekkhamma', 'Nekkhamma')
bot.start()