[Twitch] Difference between isop and $msgtags - 07/08/18 08:45 PM
On Twitch, would this:
Work the same as this?
The objective is to only allow the message go through if the user is a moderator in the channel.
Thanks in advance!
Code:
if ($me !isop $chan) { msg $chan test }
Work the same as this?
Code:
alias status { return $iif($msgtags(user-type).key == mod || $mid(#, 2-) == $me, $true) } if (!$status) { msg $chan test }
The objective is to only allow the message go through if the user is a moderator in the channel.
Thanks in advance!