Check user's stream status in Game Maker: Studio

It’s certainly possible, though nobody here probably has code for you to just copy/paste into your game.

You would need to call Twitch’s Kraken API, specifically the streams endpoint: https://github.com/justintv/Twitch-API/blob/master/v3_resources/streams.md