Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on *:connect:{
- if ($server = tmi.twitch.tv) {
- ; Requesting capabilities is necessary to recive the info
- raw CAP REQ :twitch.tv/membership
- raw CAP REQ :twitch.tv/tags
- raw CAP REQ :twitch.tv/commands
- }
- }
- on *:text:*just subscribed*:#:{
- if ($nick == twitchnotify) && ($4 != to) {
- msg $chan Welcome $1 lirikH
- }
- }
- raw USERNOTICE:*:{
- if (resub isin $msgtags) && ($1==#) {
- %months = $msgtags(msg-param-months).key
- %H = %months % 12
- %CH = %months - %H
- %CH = %CH / 12
- if (%H == 0) {
- msg $1 Welcome Back $1 $msgtags(display-name).key lirikA $str( lirikCHAMP $+ $chr(32) , %CH ) lirikA
- }
- else {
- msg $1 Welcome Back $1 $msgtags(display-name).key $str( lirikCHAMP $+ $chr(32) , %CH ) $str( lirikH $+ $chr(32), %H )
- }
- }
- }
Add Comment
Please, Sign In to add comment