mIRC Home    About    Download    Register    News    Help

Print Thread
Saying goodbye to timedout/banned users on twitch #255120 24/09/15 01:14 AM
Joined: Sep 2015
Posts: 2
Z
zimmah Offline OP
Bowl of petunias
OP Offline
Bowl of petunias
Z
Joined: Sep 2015
Posts: 2
I'd like a simple script that says something like "RIP <username>" whenever someone gets a timeout on a twitch channel.

The hard part is retrieving the name from the user that got a timeout.

Note: i'm not the one giving the timeouts.

Last edited by zimmah; 24/09/15 01:15 AM.
Re: Saying goodbye to timedout/banned users on twitch [Re: zimmah] #255128 25/09/15 04:15 AM
Joined: Feb 2015
Posts: 7
B
BigLamer Offline
Nutrimatic drinks dispenser
Offline
Nutrimatic drinks dispenser
B
Joined: Feb 2015
Posts: 7
Originally Posted By: zimmah
I'd like a simple script that says something like "RIP <username>" whenever someone gets a timeout on a twitch channel.

The hard part is retrieving the name from the user that got a timeout.

Note: i'm not the one giving the timeouts.


on QUIT



The on QUIT event triggers when a user quits IRC while on the same channel as you.



Format: on <level>:QUIT:<commands>

Example: on 1:QUIT:/notice $me $nick just quit IRC with the message $1-



Examples



on 1:QUIT:/ame waves bye-bye to $nick *sniff*



This triggers when a user quits IRC while on the same channel as you. The $1- parameters hold the user's quit message.

Re: Saying goodbye to timedout/banned users on twitch [Re: BigLamer] #255131 25/09/15 02:22 PM
Joined: Sep 2015
Posts: 2
Z
zimmah Offline OP
Bowl of petunias
OP Offline
Bowl of petunias
Z
Joined: Sep 2015
Posts: 2
I Have tried to use this example and this is what i wrote:

Code:
on *:QUIT:#: {
  msg Bye, $nick see you next time!
}


but somehow it doesnt seem to trigger at all, did i made a mistake in the code somewhere?

Re: Saying goodbye to timedout/banned users on twitch [Re: zimmah] #255133 25/09/15 03:20 PM
Joined: Jan 2004
Posts: 1,306
L
Loki12583 Online
Hoopy frood
Online
Hoopy frood
L
Joined: Jan 2004
Posts: 1,306
I don't think twitch uses QUIT, use PART