Command trigger based on twitch tags

Asked Sep 22, 2025·5 replies·Last activity 10 months ago·Open in Discord ↗
Archived from the original community forum
Things may have changed since it was written. Still stuck? Ask the community on Discord.

So, I’m trying to make a command that triggers based on a tag in my stream to then display every 10 minutes through the timers.

Right now, my thought would be to do something like:
$(eval if $(querystring($(twitch tags “WhateverTagName”)) == “WhateverTagName”){ println(“Whatever Text Set Here”); } else{ null;})

Or

$(eval if (querystring($(twitch tags “WhateverTagName”) )== “WhateverTagName”){ !somecommandname; } else{ null;})

I’m just not sure if that would work correctly

The setup currently is a timer to execute the first command.

!isinleaguematch

Which has the eval code.

Then there is the command it executes after if the criteria are met.

Not sure if it’s right tho

5 replies

Hiya, I think the right syntax is \$(twitch username "{{tags}}")\ if that works you should be able to do your first suggestions (with slightly other syntax).
However {{tags}} doesnt seem to work, is that correct @member ?

I meant like the twitch tags for streams in the SEO portion of twitch streams.

What I have underlined.

which means I guess it would be $(Twitch stream tags “{{tags}}”)

IMG_8956.jpeg

I have also tried this:
$(eval if ( $(queryString $(twitch “{{tags}}”)) == ‘OctaneCollegiate’){ !octanedelay; } else{ null;})

Gives an Unexpected identifier ‘variable’

And

$(eval octanedel=$(queryString $(twitch %(chanel) “{{tags}}”)); if ( octanedel == ‘OctaneCollegiate’){ !octanedelay; } else{ null;})

Unexpected Identifery server

And

$(eval const octanedel=$(queryString $(twitch “{{tags}}”)); if ( octanedel == ‘OctaneCollegiate’){ !octanedelay; } else{ null;})
Gives me an error for ‘{‘ unexpected token

I have never use a command for the tags but according to the screenshot you provided the syntax is as xgerhard said ` $(twitch username “{{tags}}”) `

Also, instead of %(chanel) use $(channel)

Didn't find your answer? The community is on Discord.

Ask on Discord