Untitled


SUBMITTED BY: Guest

DATE: Jan. 3, 2014, 7:12 a.m.

FORMAT: Text only

SIZE: 737 Bytes

HITS: 1262

  1. #!/usr/bin/python
  2. """
  3. __author__ = "Brandon Jackson"
  4. __license__ = "GPL"
  5. __version__ = "2.7.6"
  6. """
  7. import Skype4Py, random, string
  8. skype = Skype4Py.Skype()
  9. skype.Attach
  10. def FloodMessage():
  11. counter = 1
  12. person = "skype_username"
  13. chat = skype.CreateChatWith(person)
  14. while True:
  15. message = ''.join(random.choice(string.printable) for x in range(random.randrange(10,50)))
  16. chat.SendMessage(message)
  17. print("Sent %s messages.") % (counter)
  18. counter += 1
  19. time.sleep(0.1) #I've found that sometimes the messages don't send if there isn't a pause.
  20. def main():
  21. FloodMessage()
  22. if __name__ == '__main__':
  23. main()

comments powered by Disqus