Advertisement
Guest User

Untitled

a guest
Jul 16th, 2018
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
mIRC 17.01 KB | None | 0 0
  1. on *:LOGON:*:{
  2.   raw CAP REQ :twitch.tv/membership
  3.   raw CAP REQ :twitch.tv/tags
  4.   raw CAP REQ :twitch.tv/commands
  5.   /debug @raw
  6. }
  7. raw USERNOTICE:*:{
  8.   if ($1 == #button) {
  9.     ;Caching display name
  10.     if ($regex($msgtags(display-name).key, /^[a-z\d_]+$/ig)) {
  11.       if ($msgtags(display-name).key != $null) {
  12.         alias display-name-button return $msgtags(display-name).key
  13.       }
  14.     }
  15.     elseif (!$regex($msgtags(display-name).key, /^[a-z\d_]+$/ig)) {
  16.       if ($msgtags(display-name).key == $null) {
  17.         alias display-name-button return $upper($left($msgtags(login).key,1)) $+ $mid($msgtags(login).key,2-)
  18.       }
  19.       else {
  20.         alias display-name-button return $msgtags(login).key
  21.       }
  22.     }
  23.     ;Sub Gifting
  24.     if ($msgtags(msg-id).key == subgift) {
  25.       ;Caching recipient display name
  26.       if ($regex($msgtags(msg-param-recipient-display-name).key, /^[a-z\d_]+$/ig)) {
  27.         if ($msgtags(msg-param-recipient-display-name).key != $null) {
  28.           alias recipient-name-button return $msgtags(msg-param-recipient-display-name).key
  29.         }
  30.       }
  31.       elseif (!$regex($msgtags(msg-param-recipient-display-name).key, /^[a-z\d_]+$/ig)) {
  32.         if ($msgtags(msg-param-recipient-display-name).key == $null) {
  33.           alias recipient-name-button return $upper($left($msgtags(msg-param-recipient-user-name).key,1)) $+ $mid($msgtags(msg-param-recipient-user-name).key,2-)
  34.         }
  35.         else {
  36.           alias recipient-name-button return $msgtags(msg-param-recipient-user-name).key
  37.         }
  38.       }
  39.       if ($display-name-button != tellik) {
  40.         ;Gifted New Sub
  41.         if ($msgtags(msg-param-months).key <= 1) {
  42.           msg $1 Yay! $display-name-button has gifted a sub to $recipient-name-button $+ !
  43.           msg $1 buttonChamp buttonChamp buttonChamp
  44.           msg $1 rooGift rooGift rooGift
  45.           msg $1 buttonChamp buttonChamp buttonChamp
  46.         }
  47.         ;Gifted Resub
  48.         elseif ($msgtags(msg-param-months).key > 1) {
  49.           msg $1 Yay! $display-name-button has gifted a sub to $recipient-name-button $+ , keeping their sub streak going for $msgtags(msg-param-months).key months in a row $+ !
  50.           msg $1 buttonChamp buttonChamp buttonChamp
  51.           msg $1 rooGift rooGift rooGift
  52.           msg $1 buttonChamp buttonChamp buttonChamp
  53.         }
  54.       }
  55.     }
  56.     ;New Sub
  57.     if ($msgtags(msg-id).key == sub) {
  58.       msg $1 Yay! $display-name-button has chosen to join Button's army! buttonSub ! Welcome to the Button Army! Chat spam the channel with hearts and hype!
  59.       msg $1 buttonSub buttonSub buttonSub
  60.       msg $1 buttonHeart buttonHeart buttonHeart
  61.       msg $1 buttonSub buttonSub buttonSub
  62.     }
  63.     ;Resub
  64.     if ($msgtags(msg-id).key == resub) {
  65.       msg $1 Thank you $display-name-button for $msgtags(msg-param-months).key months of support! Chat spam the channel with hearts and hype!
  66.       msg $1 buttonSub buttonSub buttonSub
  67.       msg $1 buttonHeart buttonHeart buttonHeart
  68.       msg $1 buttonSub buttonSub buttonSub
  69.     }
  70.     ;<->
  71.   }
  72.   if ($1 == #fakeuniform) {
  73.     ;Caching display name
  74.     if ($regex($msgtags(display-name).key, /^[a-z\d_]+$/ig)) {
  75.       if ($msgtags(display-name).key != $null) {
  76.         alias display-name-fakeuniform return $msgtags(display-name).key
  77.       }
  78.     }
  79.     elseif (!$regex($msgtags(display-name).key, /^[a-z\d_]+$/ig)) {
  80.       if ($msgtags(display-name).key == $null) {
  81.         alias display-name-fakeuniform return $upper($left($msgtags(login).key,1)) $+ $mid($msgtags(login).key,2-)
  82.       }
  83.       else {
  84.         alias display-name-fakeuniform return $msgtags(login).key
  85.       }
  86.     }
  87.     ;Sub Gifting
  88.     if ($msgtags(msg-id).key == subgift) {
  89.       ;Caching recipient display name
  90.       if ($regex($msgtags(msg-param-recipient-display-name).key, /^[a-z\d_]+$/ig)) {
  91.         if ($msgtags(msg-param-recipient-display-name).key != $null) {
  92.           alias recipient-name-fakeuniform return $msgtags(msg-param-recipient-display-name).key
  93.         }
  94.       }
  95.       elseif (!$regex($msgtags(msg-param-recipient-display-name).key, /^[a-z\d_]+$/ig)) {
  96.         if ($msgtags(msg-param-recipient-display-name).key == $null) {
  97.           alias recipient-name-fakeuniform return $upper($left($msgtags(msg-param-recipient-user-name).key,1)) $+ $mid($msgtags(msg-param-recipient-user-name).key,2-)
  98.         }
  99.         else {
  100.           alias recipient-name-fakeuniform return $msgtags(msg-param-recipient-user-name).key
  101.         }
  102.       }
  103.       if ($display-name-fakeuniform != tellik) {
  104.         ;Gifted New Sub
  105.         if ($msgtags(msg-param-months).key <= 1) {
  106.           msg $1 Yay! $display-name-fakeuniform has gifted a sub to $recipient-name-fakeuniform $+ !
  107.           msg $1 fakeLove fakeLove
  108.           msg $1 fakeLove fakeLove
  109.           msg $1 fakeLove fakeLove
  110.         }
  111.         ;Gifted Resub
  112.         elseif ($msgtags(msg-param-months).key > 1) {
  113.           msg $1 Yay! $display-name-fakeuniform has gifted a sub to $recipient-name-fakeuniform $+ , keeping their sub streak going for $msgtags(msg-param-months).key months in a row $+ !
  114.           msg $1 fakeLove fakeLove
  115.           msg $1 fakeLove fakeLove
  116.           msg $1 fakeLove fakeLove
  117.         }
  118.       }
  119.     }
  120.     ;New Sub
  121.     if ($msgtags(msg-id).key == sub) {
  122.       msg $1 Yay! $display-name-fakeuniform has chosen to join The Tribe! fakeLove! Welcome to the Tribe! Chat spam the channel with hearts and hype!
  123.       msg $1 fakeLove fakeLove
  124.       msg $1 fakeLove fakeLove
  125.       msg $1 fakeLove fakeLove
  126.     }
  127.     ;Resub
  128.     if ($msgtags(msg-id).key == resub) {
  129.       msg $1 Thank you $display-name-fakeuniform for $msgtags(msg-param-months).key months of support! Chat spam the channel with hearts and hype!
  130.       msg $1 fakeLove fakeLove
  131.       msg $1 fakeLove fakeLove
  132.       msg $1 fakeLove fakeLove
  133.     }
  134.     ;<->
  135.   }
  136.   if ($1 == #jackyy) {
  137.     ;Caching display name
  138.     if ($regex($msgtags(display-name).key, /^[a-z\d_]+$/ig)) {
  139.       if ($msgtags(display-name).key != $null) {
  140.         alias display-name-jackyy return $msgtags(display-name).key
  141.       }
  142.     }
  143.     elseif (!$regex($msgtags(display-name).key, /^[a-z\d_]+$/ig)) {
  144.       if ($msgtags(display-name).key == $null) {
  145.         alias display-name-jackyy return $upper($left($msgtags(login).key,1)) $+ $mid($msgtags(login).key,2-)
  146.       }
  147.       else {
  148.         alias display-name-jackyy return $msgtags(login).key
  149.       }
  150.     }
  151.     ;Sub Gifting
  152.     if ($msgtags(msg-id).key == subgift) {
  153.       ;Caching recipient display name
  154.       if ($regex($msgtags(msg-param-recipient-display-name).key, /^[a-z\d_]+$/ig)) {
  155.         if ($msgtags(msg-param-recipient-display-name).key != $null) {
  156.           alias recipient-name-jackyy return $msgtags(msg-param-recipient-display-name).key
  157.         }
  158.       }
  159.       elseif (!$regex($msgtags(msg-param-recipient-display-name).key, /^[a-z\d_]+$/ig)) {
  160.         if ($msgtags(msg-param-recipient-display-name).key == $null) {
  161.           alias recipient-name-jackyy return $upper($left($msgtags(msg-param-recipient-user-name).key,1)) $+ $mid($msgtags(msg-param-recipient-user-name).key,2-)
  162.         }
  163.         else {
  164.           alias recipient-name-jackyy return $msgtags(msg-param-recipient-user-name).key
  165.         }
  166.       }
  167.       if ($display-name-jackyy != tellik) {
  168.         ;Gifted New Sub
  169.         if ($msgtags(msg-param-months).key <= 1) {
  170.           msg $1 Yay! $display-name-jackyy has gifted a sub to $recipient-name-jackyy $+ !
  171.           msg $1 jacky1Heart jacky1Heart
  172.           msg $1 rooGift rooGift rooGift
  173.           msg $1 jacky1Heart jacky1Heart
  174.         }
  175.         ;Gifted Resub
  176.         elseif ($msgtags(msg-param-months).key > 1) {
  177.           msg $1 Yay! $display-name-jackyy has gifted a sub to $recipient-name-jackyy $+ , keeping their sub streak going for $msgtags(msg-param-months).key months in a row $+ !
  178.           msg $1 jacky1Heart jacky1Heart
  179.           msg $1 rooGift rooGift rooGift
  180.           msg $1 jacky1Heart jacky1Heart
  181.         }
  182.       }
  183.     }
  184.     ;New Sub
  185.     if ($msgtags(msg-id).key == sub) {
  186.       msg $1 Yay! $display-name-jackyy has chosen to join us!! Chat spam the channel with hearts and hype!
  187.       msg $1 jacky1Heart jacky1Heart
  188.       msg $1 jacky1Heart jacky1Heart
  189.       msg $1 jacky1Heart jacky1Heart
  190.     }
  191.     ;Resub
  192.     if ($msgtags(msg-id).key == resub) {
  193.       msg $1 Thank you $display-name-jackyy for $msgtags(msg-param-months).key months of support! Chat spam the channel with hearts and hype!
  194.       msg $1 jacky1Heart jacky1Heart
  195.       msg $1 jacky1Heart jacky1Heart
  196.       msg $1 jacky1Heart jacky1Heart
  197.     }
  198.     ;<->
  199.   }
  200.   if ($1 == #pulpy) {
  201.     ;Caching display name
  202.     if ($regex($msgtags(display-name).key, /^[a-z\d_]+$/ig)) {
  203.       if ($msgtags(display-name).key != $null) {
  204.         alias display-name-pulpy return $msgtags(display-name).key
  205.       }
  206.     }
  207.     elseif (!$regex($msgtags(display-name).key, /^[a-z\d_]+$/ig)) {
  208.       if ($msgtags(display-name).key == $null) {
  209.         alias display-name-pulpy return $upper($left($msgtags(login).key,1)) $+ $mid($msgtags(login).key,2-)
  210.       }
  211.       else {
  212.         alias display-name-pulpy return $msgtags(login).key
  213.       }
  214.     }
  215.     ;Sub Gifting
  216.     if ($msgtags(msg-id).key == subgift) {
  217.       ;Caching recipient display name
  218.       if ($regex($msgtags(msg-param-recipient-display-name).key, /^[a-z\d_]+$/ig)) {
  219.         if ($msgtags(msg-param-recipient-display-name).key != $null) {
  220.           alias recipient-name-pulpy return $msgtags(msg-param-recipient-display-name).key
  221.         }
  222.       }
  223.       elseif (!$regex($msgtags(msg-param-recipient-display-name).key, /^[a-z\d_]+$/ig)) {
  224.         if ($msgtags(msg-param-recipient-display-name).key == $null) {
  225.           alias recipient-name-pulpy return $upper($left($msgtags(msg-param-recipient-user-name).key,1)) $+ $mid($msgtags(msg-param-recipient-user-name).key,2-)
  226.         }
  227.         else {
  228.           alias recipient-name-pulpy return $msgtags(msg-param-recipient-user-name).key
  229.         }
  230.       }
  231.       if ($display-name-pulpy != tellik) {
  232.         ;Gifted New Sub
  233.         if ($msgtags(msg-param-months).key <= 1) {
  234.           msg $1 Yay! $display-name-pulpy has gifted a sub to $recipient-name-.timermsg 1 1 msg $1 pulpHeart $+ !
  235.           .timermsg 1 1 msg $1 pulpHeart pulpHeart
  236.         }
  237.         ;Gifted Resub
  238.         elseif ($msgtags(msg-param-months).key > 1) {
  239.           msg $1 Yay! $display-name-pulpy has gifted a sub to $recipient-name-pulpy $+ , keeping their sub streak going for $msgtags(msg-param-months).key months in a row $+ !
  240.               .timermsg 1 1 msg $1 pulpHeart pulpHeart
  241.         }
  242.       }
  243.     }
  244.     ;New Sub
  245.     if ($msgtags(msg-id).key == sub) {
  246.       msg $1 Yay! $display-name-pulpy has chosen to join us! pulpHeart! Welcome! Chat spam the channel with hearts and hype!
  247.       .timermsg 1 1 msg $1 pulpHeart pulpHeart
  248.     }
  249.     ;Resub
  250.     if ($msgtags(msg-id).key == resub) {
  251.       msg $1 Thank you $display-name-pulpy for $msgtags(msg-param-months).key months of support! Chat spam the channel with hearts and hype!
  252.       .timermsg 1 1 msg $1 pulpHeart pulpHeart
  253.     }
  254.     ;<->
  255.   }
  256.   if ($1 == #itslewdicolo) {
  257.     ;Caching display name
  258.     if ($regex($msgtags(display-name).key, /^[a-z\d_]+$/ig)) {
  259.       if ($msgtags(display-name).key != $null) {
  260.         alias display-name-itslewdicolo return $msgtags(display-name).key
  261.       }
  262.     }
  263.     elseif (!$regex($msgtags(display-name).key, /^[a-z\d_]+$/ig)) {
  264.       if ($msgtags(display-name).key == $null) {
  265.         alias display-name-itslewdicolo return $upper($left($msgtags(login).key,1)) $+ $mid($msgtags(login).key,2-)
  266.       }
  267.       else {
  268.         alias display-name-itslewdicolo return $msgtags(login).key
  269.       }
  270.     }
  271.     ;Sub Gifting
  272.     if ($msgtags(msg-id).key == subgift) {
  273.       ;Caching recipient display name
  274.       if ($regex($msgtags(msg-param-recipient-display-name).key, /^[a-z\d_]+$/ig)) {
  275.         if ($msgtags(msg-param-recipient-display-name).key != $null) {
  276.           alias recipient-name-itslewdicolo return $msgtags(msg-param-recipient-display-name).key
  277.         }
  278.       }
  279.       elseif (!$regex($msgtags(msg-param-recipient-display-name).key, /^[a-z\d_]+$/ig)) {
  280.         if ($msgtags(msg-param-recipient-display-name).key == $null) {
  281.           alias recipient-name-itslewdicolo return $upper($left($msgtags(msg-param-recipient-user-name).key,1)) $+ $mid($msgtags(msg-param-recipient-user-name).key,2-)
  282.         }
  283.         else {
  284.           alias recipient-name-itslewdicolo return $msgtags(msg-param-recipient-user-name).key
  285.         }
  286.       }
  287.       if ($display-name-itslewdicolo != tellik) {
  288.         ;Gifted New Sub
  289.         if ($msgtags(msg-param-months).key <= 1) {
  290.           msg $1 Yay! $display-name-itslewdicolo has gifted a sub to $recipient-name-itslewdicolo  $+ !
  291.           .timermsg 1 2 msg $1 lewHeart lewDang lewCool lewHeart
  292.  
  293.         }
  294.         ;Gifted Resub
  295.         elseif ($msgtags(msg-param-months).key > 1) {
  296.           msg $1 Yay! $display-name-itslewdicolo has gifted a sub to $recipient-name-itslewdicolo $+ , keeping their sub streak going for $msgtags(msg-param-months).key months in a row $+ !
  297.           .timermsg 1 2 msg $1 lewHeart lewDang lewCool lewHeart
  298.  
  299.         }
  300.       }
  301.     }
  302.     ;New Sub
  303.     if ($msgtags(msg-id).key == sub) {
  304.       msg $1 Yay! $display-name-itslewdicolo has chosen to join us! lewD! Welcome! Chat spam the channel with hearts and hype!
  305.       .timermsg 1 2 msg $1 lewHeart lewDang lewCool lewHeart
  306.  
  307.     }
  308.     ;Resub
  309.     if ($msgtags(msg-id).key == resub) {
  310.       msg $1 Thank you $display-name-itslewdicolo for $msgtags(msg-param-months).key months of support! Chat spam the channel with hearts and hype!
  311.       .timermsg 1 2 msg $1 lewHeart lewDang lewCool lewHeart
  312.  
  313.     }
  314.     ;<->
  315.   }
  316.   if ($1 == #oisketchio) {
  317.     ;Caching display name
  318.     if ($regex($msgtags(display-name).key, /^[a-z\d_]+$/ig)) {
  319.       if ($msgtags(display-name).key != $null) {
  320.         alias display-name-oisketchio return $msgtags(display-name).key
  321.       }
  322.     }
  323.     elseif (!$regex($msgtags(display-name).key, /^[a-z\d_]+$/ig)) {
  324.       if ($msgtags(display-name).key == $null) {
  325.         alias display-name-oisketchio return $upper($left($msgtags(login).key,1)) $+ $mid($msgtags(login).key,2-)
  326.       }
  327.       else {
  328.         alias display-name-oisketchio return $msgtags(login).key
  329.       }
  330.     }
  331.     ;Sub Gifting
  332.     if ($msgtags(msg-id).key == subgift) {
  333.       ;Caching recipient display name
  334.       if ($regex($msgtags(msg-param-recipient-display-name).key, /^[a-z\d_]+$/ig)) {
  335.         if ($msgtags(msg-param-recipient-display-name).key != $null) {
  336.           alias recipient-name-oisketchio return $msgtags(msg-param-recipient-display-name).key
  337.         }
  338.       }
  339.       elseif (!$regex($msgtags(msg-param-recipient-display-name).key, /^[a-z\d_]+$/ig)) {
  340.         if ($msgtags(msg-param-recipient-display-name).key == $null) {
  341.           alias recipient-name-oisketchio return $upper($left($msgtags(msg-param-recipient-user-name).key,1)) $+ $mid($msgtags(msg-param-recipient-user-name).key,2-)
  342.         }
  343.         else {
  344.           alias recipient-name-oisketchio return $msgtags(msg-param-recipient-user-name).key
  345.         }
  346.       }
  347.       if ($display-name-oisketchio != tellik) {
  348.         ;Gifted New Sub
  349.         if ($msgtags(msg-param-months).key <= 1) {
  350.           msg $1 Yay! $display-name-oisketchio has gifted a sub to $recipient-name-oisketchio  $+ !
  351.           .timermsg 1 2 msg $1 sketchTink sketchNut sketchT sketchLew
  352.  
  353.         }
  354.         ;Gifted Resub
  355.         elseif ($msgtags(msg-param-months).key > 1) {
  356.           msg $1 Yay! $display-name-oisketchio has gifted a sub to $recipient-name-oisketchio $+ , keeping their sub streak going for $msgtags(msg-param-months).key months in a row $+ !
  357.           .timermsg 1 2 msg $1 sketchTink sketchNut sketchT sketchLew
  358.  
  359.         }
  360.       }
  361.     }
  362.     ;New Sub
  363.     if ($msgtags(msg-id).key == sub) {
  364.       msg $1 Yay! $display-name-oisketchio has chosen to join us! sketchKiss Welcome! Chat spam the channel with hearts and hype!
  365.       .timermsg 1 2 msg $1 sketchTink sketchNut sketchT sketchLew
  366.  
  367.     }
  368.     ;Resub
  369.     if ($msgtags(msg-id).key == resub) {
  370.       msg $1 Thank you $display-name-oisketchio for $msgtags(msg-param-months).key months of support! sketchKiss Chat spam the channel with hearts and hype!
  371.       .timermsg 1 2 msg $1 sketchTink sketchNut sketchT sketchLew
  372.  
  373.     }
  374.   }
  375. }
  376. }
  377. ;<->
  378. }
  379. on *:TEXT:!hearts*:#: {
  380. if ($msgtags(mod).key == 1) && ($nick == $me || $nick == 47y_mc || $nick == Tellik || $nick == ItsLewdicolo ) {
  381. msg $chan danLove rooLove bbbLove mhoHeart claraLOVE sketchTink feliciaHeart buttonHeart matxHeart pulpHeart fakeLove lewHeart bleedPurple
  382. }
  383. if ($msgtags(mod).key == 0) && ($nick == $me || $nick == 47y_mc || $nick == jacky1356400 || $nick == Tellik) {
  384. .timermsg 1 1 msg $chan danLove rooLove bbbLove mhoHeart claraLOVE sketchTink feliciaHeart buttonHeart matxHeart pulpHeart fakeLove lewHeart bleedPurple
  385. }
  386. }
  387. on *:ACTION:*cables*:#: {
  388. if ((%floodcommands) || ($($+(%,floodcommands.,$nick),2))) { return }
  389. set -u30 %floodcommands On
  390. set -u30 %floodcommands. $+ $nick On
  391. if ($nick != $me) { describe $chan chews on cables claraNOM
  392. }
  393. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement