This was the original script, I already had a !removeme but I need it to have a moderators only command to remove certain people from the list and have moderators to be able to !reset the list, and I need just an orginal script for non partnered streams (the commands don't just work for subscribers but for viewers)
ON *:CONNECT: IF ($server == tmi.twitch.tv) CAP REQ :twitch.tv/commands twitch.tv/tags twitch.tv/membership
ON *:TEXT:!addme:#: {
IF (($msgtags(subscriber).key) && (!$istok(%sub_list,$nick $+ $chr(44),32))) {
SET %sub_list %sub_list $nick $+ $chr(44)
MSG $chan $nick $+ , you have been added to the !list.
}
}
ON *:TEXT:!removeme:#: {
IF ($istok(%sub_list,$nick $+ $chr(44),32)) {
SET %sub_list $remtok(%sub_list,$nick $+ $chr(44),0,32)
MSG $chan $nick $+ , you have been removed from the !list.
}
}
ON *:TEXT:!list:#: MSG $chan $left(%sub_list,-1)