Not sure what $msgtags is.
Does it have instant/faster update speed than isop? Because that doesn't work until IRC Opt's someone, that can take up to a minute.
Edit: Fiddled with it, not sure how to implement it but it seems to work instantly work twitch at least. ty, I'll see if I can make something work with this.
Edit2: Ended up copy pasting a $msgtags snippet someone else was using, I do wonder if anyone can tell me if the $msgtags(mod) doesn't return the channel owner as $true on purpose? And if so, I don't see a parameter to check for channel ownership. The tmi api list also lists you as a moderator on the channel, even if you're a channel owner.
Edit3: Think I worked up a solution, for anyone having similar question:
alias isAdmin {
if ($msgtags(badges).key == broadcaster/1) { return $true }
else { return $false }
}
alias isMod {
if ($msgtags(mod).key == 1) { return $true }
else { return $false }
}
alias isSub {
if ($msgtags(subscriber).key == 1) { return $true }
else { return $false }
}
replace
with
or if you want both