Advertisement
Guest User

Sub / Resub scripting.

a guest
Dec 7th, 2016
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.81 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.  
  8.  
  9. on *:TEXT:*subscribed*:#roxyproxxy:{
  10. if ( $nick == twitchnotify ) && ($istok($1-,subscribed to,32)) halt
  11. elseif ($nick == twitchnotify) && ( $4 == $null ) { msg $chan roxyLove Welcome to TeamRoxy $1! roxyLove }
  12. }
  13. raw USERNOTICE:*:{
  14. if ($1 == #roxyproxxy) {
  15. if ($2- == $null) && (resub isin $msgtags) {
  16. msg $1 roxyLove Welcome back to TeamRoxy $msgtags(display-name).key for $msgtags(msg-param-months).key months in a row! roxyLove
  17. }
  18. if ($2- != $null) && (resub isin $msgtags) {
  19. msg $1 roxyLove Welcome back to TeamRoxy $msgtags(display-name).key for $msgtags(msg-param-months).key months in a row with the message: " $2- "! roxyLove
  20. }
  21. }
  22. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement