mIRC Home    About    Download    Register    News    Help

Print Thread
[Twitch] /me purge Code (Color in Chat) #258418 02/07/16 06:23 AM
Joined: Jul 2016
Posts: 6
I
ItsWZRDx Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
I
Joined: Jul 2016
Posts: 6
I ended up losing the Code for when someone does /me in the chat, it purges them. If anyone has that code, would love to have it again. Thanks!

Re: [Twitch] /me purge Code (Color in Chat) [Re: ItsWZRDx] #258424 02/07/16 12:34 PM
Joined: Apr 2014
Posts: 24
T
Thedelirious1 Offline
Ameglian cow
Offline
Ameglian cow
T
Joined: Apr 2014
Posts: 24
Code:
on *:action:*:#:{
  if ($nick !isop $chan) {
    msg # .timeout $nick 1
  }
}

Re: [Twitch] /me purge Code (Color in Chat) [Re: Thedelirious1] #258444 04/07/16 05:55 AM
Joined: Jul 2016
Posts: 6
I
ItsWZRDx Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
I
Joined: Jul 2016
Posts: 6
I did that, and it didn't work in the chat, let me know if I am doing anything wrong:


on *:LOGON:*:{
raw CAP REQ :twitch.tv/membership
raw CAP REQ :twitch.tv/tags
raw CAP REQ :twitch.tv/commands
/debug @raw
}

on 1:TEXT:*subscribed*:#nickmercs:{
if ( $nick == twitchnotify ) && ($istok($1-,subscribed to,32)) halt
elseif ($nick == twitchnotify) && ( $4 == $null ) { describe $chan nickmercsSH Welcome to the #MercsFam $1 nickmercsLOVE nickmercsLY ! $+ }
}


raw USERNOTICE:*:{
if (($msgtags(msg-id).key == resub) && ($1 == #nickmercs)) {
var %nick $iif($msgtags(display-name).key, $v1, $msgtags(login).key)
if ($0 == 1) {
describe $1 nickmercsSH %nick resubbed for $msgtags(msg-param-months).key months in a row! nickmercsLOVE nickmercsLY !
}
else {
describe $1 nickmercsSH %nick resubbed for $msgtags(msg-param-months).key months in a row with the message: $qt($2-) nickmercsLOVE nickmercsLY !
}
}

on *:action:*:#:{
if ($nick !isop $chan) {
msg # .timeout $nick 1
}
}

Re: [Twitch] /me purge Code (Color in Chat) [Re: ItsWZRDx] #258447 04/07/16 02:07 PM
Joined: Jun 2014
Posts: 77
K
Khonor Offline
Babel fish
Offline
Babel fish
K
Joined: Jun 2014
Posts: 77
Hey @ItsWZRDx,


You must be placed in a new remote!


Go to: Script Editor > Remote > New.


And the command should work correctly.

Quote:
on *:action:*:#:{
if ($nick !isop $chan) {
msg # .timeout $nick 1
}
}





_______________________________

Don't forget to follow me on Twitch.