Advertisement
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:*subscibed*:#amazhs: {
- if $nick = twitchnotify {
- if $4 = to { }
- else { msg $chan WELCOME $1 omgHello omgParty }
- }
- }
- raw USERNOTICE:*:{
- if ($msgtags(msg-id .key == resub) {
- if ($target == #amazhs) {
- %months = $msgtags(msg-param-months) .key
- %hello = %months % 12
- %kirby = %months - %hello
- %kirby = %kirby / 12
- if (%hello == 0) {
- msg $target WELCOME BACK $1 omgParty $str( omgKirby $+ $chr(32) , %kirby ) omgParty
- }
- else {
- msg $target WELCOME BACK $1 $str( omgKirby $+ $chr(32) , %kirby ) $str( omgHello $+ $chr(32), %hello )
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement