Short Tutorial: How to make Twitch Plays

How to make a Twitch Plays on Windows with Quake as an example.

Python 2.7:



  • DaDrippyWaffle 3 years ago

    How do I make it press the spacebar?

  • BOOCHAN x tWitch 3 years ago

    is ther a way to set up multiple inputs at once? for example a user would type "w w w w w w"
    to walk up 6 times?
    because on twitch it is hard to spam now iwth the 30 second timeout for same messages.

    is there anyway to alter the code?? i wasnt sure how

  • wu paul 3 years ago

    I am in trouble
    what can i do something
    please help
    console log

    Finding files… done.
    Importing test modules … Connecting to
    Connected to twitch
    Sending our details to twitch…
    … they accepted our details
    Connected to!
    Traceback (most recent call last):
    File "C:Program FilesBrainwyLiClipse", line 468, in __get_module_from_str
    mod = __import__(modname)
    File "C:/Users/dd014/Downloads/Twitch Plays/Twitch Plays/", line 12, in <module>
    t.twitch_connect(username, key);
    File "C:/Users/dd014/Downloads/Twitch Plays/Twitch Plays/", line 42, in twitch_connect
    timeout: timed out
    ERROR: Module: main could not be imported (file: C:Usersdd014DownloadsTwitch PlaysTwitch

    Ran 0 tests in 0.000s


  • Paul Zappia 3 years ago

    Is there a way to have different messages trigger a certain key? (eg. typing in ''up' will press the 'w' key) I've tried to do this by modifying the code, but when I run the script and type a message in chat, an error occurs. What would have to be changed about the code to do this?

  • EliApparently 3 years ago

    I can get the scripts running and I'm putting in all of my information correctly, but it just won't take anything. I have my keys set up to do the proper inputs but they just aren't being registered in the script or working. How would I fix that?

  • Adrien 3 years ago

    When I open it immediately closes down, I uninstall Python and reinstall but it still does not work.I opened with the cmd and there is marked:

    Twitch Plays main", line 3, in <module> import keypresser

    Twitch Plays main", line 1, in <module>
    import win32com.client as comclt ImportError: No module named win32com.client

  • Yoan Sub 3 years ago

    when i open main , my python exe is deleted and i have this error :
    traceback (most recent call last):

  • Marconnato 3 years ago

    Hi, when I open main, it immediately closes down, with that message:
    "C:UsersMarcDesktopTwitch" , line 12, in <module> t.twitch_connect(username, key);
    "C:UsersMarcDesktopTwitch", line 42, in twitch_connect s.recv(1024);
    Socket.timeout: timed out

  • MaxGentleman ! 3 years ago

    Hey! I have a question for like, how can I turn the mouse on the game? Like look to the left, right, up and down? You will save me if you know how 🙂

  • Ja'Crispy 3 years ago

    When I open main, it immediately closes down. I double checked to make sure I had downloaded python 2.7, and I did. Any idea on how to fix this? Thank you!

  • Nostis Juhniable 3 years ago

    When I open, I get this error and doesn't work: TypeError: a bytes-like object is required, not 'str'

  • exploshi 3 years ago



Add your comment

Your email address will not be published.