Description

Using these scripts you can create interactive chatbots, or even games controlled by other twitch users via your chat. Usable for any IRC Server, also including chats outside of twitch

Explanation on how to use are included in the "obj_IRCExample"-Object

Want to support these scripts? Donate! https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=3PN64HR4ZQHMW

End User Licence Agreement (EULA).

Version 1.3.0. Published June 4, 2015

Created with GameMaker: Studio v1.99.402

Age Rating: 4+

Average Rating

Your review

You can only review assets you've bought.


Gravatar

Sebastian N 10 April 2017


Gravatar

Anonymous 18 December 2016


Gravatar

Anonymous 19 January 2017

Client ID

you need now to send a Client ID in the header of your request to twitch API.
something like this :
var map = ds_map_create();
ds_map_add(map, "Client-ID", "ID NUMBER");
var data="";
getfollowers = http_request("https://api.twitch.tv/kraken/channels/"+channelname+"/follows",
"GET",
map,
data);

ds_map_destroy(map);
//----------------------------------------------------------------------------------------
and also in irc_handle_http() add a check to see if str is not undefined like this :

var Id = ds_map_find_value(async_load, "id")
var str = ds_map_find_value(async_load, "result")

if !is_undefined(str){
// PUT THE REST OF THE CODE HERE
}

doing this made it work for me no crash yet still doing some testes


Gravatar

Timothy Y 28 September 2016

Doesn't seem to work

I hope you make an update. There are error messages on launch and when I fix the syntax, nothing happens anyway.


Gravatar

Stijn K 21 May 2016

Works, but some features are broken

It works, but I needed to make some changes becaus some stuff is outdated and thus causes crashes, I hope this will be fixed.


Gravatar

Daniel P 03 April 2016

Windows10 created app crashes..

Unfortunately a single exe windows app created and allowed in windows firewall crashes after few minutes:

############################################################################################
FATAL ERROR in
action number 1
of Async Event: HTTP
for object obj_twitch:

json_decode argument 1 incorrect type (5) expecting a Number (YYGR)
at gml_Script_irc_handle_http
############################################################################################
--------------------------------------------------------------------------------------------
stack frame is
gml_Script_irc_handle_http (line 0)
gml_Object_obj_twitch_Other_62


Gravatar

Andreas P 16 December 2015

Does what its supposed to do.

It does what its supposed to do, but sometimes when getting the viewers, an error happens.
Plus, is there a way to disconnect so that if you reconnected it wouldnt register every command twice?


Gravatar

Patrick T 11 April 2017

Fixed and reorganized version

Editing my review since the author told me at one point they won't update this extension.
https://marketplace.yoyogames.com/assets/5273/twitch-chat-and-api-v5


Gravatar

Jason C 30 September 2015

Does this still work?

I̶ ̶c̶a̶n̶'̶t̶ ̶s̶e̶e̶m̶ ̶t̶o̶ ̶g̶e̶t̶ ̶t̶h̶e̶ ̶b̶o̶t̶ ̶t̶o̶ ̶c̶o̶n̶n̶e̶c̶t̶ ̶t̶o̶ ̶m̶y̶ ̶c̶h̶a̶t̶.̶ ̶I̶v̶e̶ ̶p̶u̶t̶ ̶i̶n̶ ̶t̶h̶e̶ ̶b̶o̶t̶s̶ ̶n̶a̶m̶e̶ ̶a̶n̶d̶ ̶o̶a̶u̶t̶h̶ ̶p̶a̶s̶s̶w̶o̶r̶d̶ ̶a̶n̶d̶ ̶m̶y̶ ̶c̶h̶a̶n̶n̶e̶l̶ ̶b̶u̶t̶ ̶w̶h̶e̶n̶ ̶i̶ ̶r̶u̶n̶ ̶m̶y̶ ̶g̶a̶m̶e̶ ̶i̶t̶ ̶n̶e̶v̶e̶r̶ ̶s̶h̶o̶w̶s̶ ̶u̶p̶ ̶i̶n̶ ̶t̶h̶e̶ ̶v̶i̶e̶w̶e̶r̶s̶.̶ ̶P̶l̶e̶a̶s̶e̶ ̶h̶e̶l̶p̶ ̶D̶:̶

Got it to work I forgot to add the object to the room...Whoops!


Gravatar

Alex M 31 August 2015

Works Very Well

Nicely done, thank you for supporting the GMC community by making it free! Will donate in the future!


Gravatar

Brandon T 26 April 2015

What you need

This connects to a chat room in twitch like its plug and play. Add it to your project, and bam. Type in chat, you application will read it, and then right in the commented section put what you want it to do. Easy peasy.

Couldnt be doing this stuff without it. Very helpful.

This review was left for a previous version of this asset.


Gravatar

aleksander p 13 April 2015

nice

good job :)

This review was left for a previous version of this asset.


Gravatar

John B 12 April 2015

Does the job, presentation is OK

Just a couple of scripts to connect to IRC, get messages, and send messages too. I had to tweak the argument comments so that the argument hints show up in the code editor.

e.g. ////irc_send_message(msg) instead of ///send_message(msg)

This review was left for a previous version of this asset.

Logo

David Lawrence (Publisher) 15 April 2015

Oops, forgot to rename the script descriptions when making the script names nice'n'nifty, thanks for your input :)
Changed the script descriptions now!


Gravatar

Brennan R 08 April 2015

It works

Fully commented code, instructions for setup, very simple. Great for twitch games if thats what you're after.

This review was left for a previous version of this asset.

What is the issue?

Back to Top