Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on 1:text:*subscribed*:#msteamkk:{
- if ( $nick == twitchnotify ) && ($4 == to) halt
- elseif ($nick == twitchnotify) && ($2 == just) { /msg $chan Welcome $1 , }
- }
- raw USERNOTICE:*:{
- if ($msgtags(msg-id).key == resub) {
- var %name = $getNameFromTags
- if ($target == #scrubing) {
- msg $target Welcome back $msgtags(display-name).key to msteamkk for $msgtags(msg-param-months).key months in a row!
- }
- haltdef
- }
- }
- alias getNameFromTags {
- if ($msgtags(display-name).key != $null) {
- return $replace($msgtags(display-name).key,\s,$chr(32))
- }
- if ($msgtags(login).key != $null) {
- return $msgtags(login).key
- }
- return $nick
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement