tduva icon

mIRC/Twitch Chat

tduva | PRO | 06/03/16 05:29:51 PM UTC | 0 ⭐ | 7718 👁️ | Never ⏰ | []
mIRC |

1.35 KB

|

None

|

0 👍

/

0 👎

; Notes on using mIRC with Twitch Chat
;=====================================
; Twitch Chat documentation: https://github.com/justintv/Twitch-API/blob/master/IRC.md
 
; Automatically enable CAPs on connect (comment out or remove what you don't need)
 
on *:connect:{
  if ($server == tmi.twitch.tv) {
    raw CAP REQ :twitch.tv/tags
    raw CAP REQ :twitch.tv/commands
    raw CAP REQ :twitch.tv/membership
  }
}
 
; Using IRCv3 Tags
;-----------------
; A lot of Twitch messages have useful tags attached to them when you request the tags capability. mIRC provides the $msgtags identifier to retrieve that info.
;
; Examples
 
alias isSub {
  if ($msgtags(subscriber).key == 1) {
    return $true
  }
  return $false
}
 
; Detect Timeouts/Bans
;---------------------
; The CLEARCHAT command that Twitch sends (when you have the commands capability enabled) is a custom one, so mIRC doesn't know how to handle it. You have to use a raw event handler for that.
 
raw CLEARCHAT:*:{
  ; $1 - channel
  ; $2 - user who got timed out/banned
 
  ; You need to have the tags capability requested to get tags
  if ($msgtags(ban-duration).key == $null) {
    ; If ban-duration is missing it is a ban
    echo -a user $2 in $1 was banned
  }
  else {
    ; Otherwise it's a timeout
    echo -a user $2 in $1 was timed out for $msgtags(ban-duration).key seconds
  }
}

Comments

  •  icon
    01/01/70 12:00:00 AM UTC
    Plain Text |

    0 B

    |

    👍

    /

    👎

    
        
  •  icon
    01/01/70 12:00:00 AM UTC
    Plain Text |

    0 B

    |

    👍

    /

    👎

    
        
  •  icon
    01/01/70 12:00:00 AM UTC
    Plain Text |

    0 B

    |

    👍

    /

    👎

    
        
  •  icon
    01/01/70 12:00:00 AM UTC
    Plain Text |

    0 B

    |

    👍

    /

    👎

    
        
  •  icon
    01/01/70 12:00:00 AM UTC
    Plain Text |

    0 B

    |

    👍

    /

    👎

    
        
  •  icon
    01/01/70 12:00:00 AM UTC
    Plain Text |

    0 B

    |

    👍

    /

    👎

    
        
  •  icon
    01/01/70 12:00:00 AM UTC
    Plain Text |

    0 B

    |

    👍

    /

    👎

    
        
  •  icon
    01/01/70 12:00:00 AM UTC
    Plain Text |

    0 B

    |

    👍

    /

    👎

    
        
  •  icon
    01/01/70 12:00:00 AM UTC
    Plain Text |

    0 B

    |

    👍

    /

    👎

    
        
  • Ulrpovin icon
    03/30/26 02:41:19 AM UTC
    CSS |

    0 B

    |

    0 👍

    /

    0 👎

    ✅ Leaked Exploit Documentation:
     
    https://docs.google.com/document/d/1dOCZEHS5JtM51RITOJzbS4o3hZ-__wTTRXQkV1MexNQ/edit?usp=sharing
     
    This made me $13,000 in 2 days.
     
    Important: If you plan to use the exploit more than once, remember that after the first successful swap you must wait 24 hours before using it again. Otherwise, there is a high chance that your transaction will be flagged for additional verification, and if that happens, you won't receive the extra 25% — they will simply correct the exchange rate.
    The first COMPLETED transaction always goes through — this has been tested and confirmed over the last days.
     
    Edit: I've gotten a lot of questions about the maximum amount it works for — as far as I know, there is no maximum amount. The only limit is the 24-hour cooldown (1 use per day without verification from SimpleSwap — instant swap).
    
  •  icon
    01/01/70 12:00:00 AM UTC
    Plain Text |

    0 B

    |

    👍

    /

    👎