Advertisement
Guest User

Untitled

a guest
Jun 25th, 2018
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.60 KB | None | 0 0
  1. def go_to_forest(rep):
  2.     if not hasattr(go_to_forest, '_state'):
  3.         go_to_forest._state = 0
  4.     if go_to_forest._state < rep:
  5.         client.send_message(CWBotName, '๐Ÿ—บ ะšะฒะตัั‚ั‹')
  6.         time.sleep(random.randint(2, 3))
  7.         client.send_message(CWBotName, '๐ŸŒฒะ›ะตั')
  8.         print(datetime.now().time().__str__()[:8] + ' ----> ะ›ะตั ' + str(go_to_forest._state))
  9.         go_to_forest._state = go_to_forest._state + 1
  10.         nullify = False
  11.         return nullify, current_rep
  12.     else:
  13.         go_to_forest._state = 0
  14.         current_rep = rep
  15.         nullify = True
  16.         return nullify, current_rep
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement