Guest User

B

a guest
Feb 15th, 2017
100
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.80 KB | None
  1. on *:connect:{
  2. if ($server = tmi.twitch.tv) {
  3. ; Requesting capabilities is necessary to recive the info
  4. raw CAP REQ :twitch.tv/membership
  5. raw CAP REQ :twitch.tv/tags
  6. raw CAP REQ :twitch.tv/commands
  7. }
  8. }
  9.  
  10. on *:text:*just subscribed*:#:{
  11. if ($nick == twitchnotify) && ($4 != to) {
  12. msg $chan Welcome $1 lirikH
  13. }
  14. }
  15.  
  16. raw USERNOTICE:*:{
  17. if (resub isin $msgtags) && ($1==#) {
  18. %months = $msgtags(msg-param-months).key
  19. %H = %months % 12
  20. %CH = %months - %H
  21. %CH = %CH / 12
  22. if (%H == 0) {
  23. msg $1 Welcome Back $1 $msgtags(display-name).key lirikA $str( lirikCHAMP $+ $chr(32) , %CH ) lirikA
  24. }
  25. else {
  26. msg $1 Welcome Back $1 $msgtags(display-name).key $str( lirikCHAMP $+ $chr(32) , %CH ) $str( lirikH $+ $chr(32), %H )
  27. }
  28. }
  29. }
RAW Paste Data Copied