Since this is quite obviously a request for twitch. I made a
script for another user earlier that you can use.
Do note that there's no need to change any portion of the code; other users came to me with questions about it cause they had changed a part of the code which they thought they were required to.