mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Jul 2016
Posts: 6
I
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!

Joined: Apr 2014
Posts: 24
T
Ameglian cow
Offline
Ameglian cow
T
Joined: Apr 2014
Posts: 24
Code:
on *:action:*:#:{
  if ($nick !isop $chan) {
    msg # .timeout $nick 1
  }
}

Joined: Jul 2016
Posts: 6
I
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
}
}

Joined: Jun 2014
Posts: 77
K
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.


Link Copied to Clipboard