mIRC Home    About    Download    Register    News    Help

Print Thread
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.
Joined: Feb 2015
Posts: 7
B
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.

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?

Joined: Jan 2004
Posts: 1,358
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Jan 2004
Posts: 1,358
I don't think twitch uses QUIT, use PART


Link Copied to Clipboard