Guest User

Untitled

a guest
Oct 11th, 2018
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.49 KB | None | 0 0
  1. list = ['Anchor', 'FruitMachine', 'GiantJelly', 'PetPetPark', 'Tombola']
  2.  
  3. for daily in list:
  4.     print "Doing " + daily
  5.    
  6.     exec("ob = " + daily + "(usr)")
  7.    
  8.     try:
  9.         ob.play()
  10.         print daily + ": " + ob.getMessage()
  11.     except dailyAlreadyDone:
  12.         print daily + ": This daily is already done!"
  13.     except parseException:
  14.         print daily + ": A serious error has occurred. Please refer to the logs."
  15.        
  16.     print daily + ": Finished. Moving on to next."
Add Comment
Please, Sign In to add comment