Hey Maroon.
First sorry for my bad english.

But i need ur help with the Script.
Sub and Resub works fine but i have a problem with "sub-gifts". On single gifts its work fine but on mass-gifts it's spam with every single gift.
Is there a way to separate it? individual gifts and mass gifts?

Code:
on *:LOGON:*:{
  raw CAP REQ :twitch.tv/membership
  raw CAP REQ :twitch.tv/tags
  raw CAP REQ :twitch.tv/commands
  /debug @raw
}

raw USERNOTICE:*:{
  if ($msgtags(room-id).key != 103495737) return
  if (!$window(@Subs)) window @Subs
  echo $+([,$time,]) @Subs msg-id.key $msgtags(msg-id).key display-name.key: $msgtags(display-name).key msg-param-sub-plan.key: $msgtags(msg-param-sub-plan).key
  }
  if ($msgtags(msg-id).key == sub) {
    var %nick $iif($msgtags(display-name).key, $v1, $msgtags(login).key)
    var %sub-plan $replace($msgtags(msg-param-sub-plan).key, 1000, $chr(36) $+ 4.99, 2000, $chr(36) $+ 9.99, 3000, $chr(36) $+ 24.99, Prime, Prime)
    msg $1 shoxx91Herzz %nick shoxx91Herzz Danke für deine %sub-plan Sub! shoxx911hype Willkommen in der Shoxx-Community! shoxx91Herzz shoxx91Herzz
    msg $1 shoxx91Herzz shoxx911hype shoxx91SHype shoxx91SHype shoxx91SHype shoxx91SHype shoxx91SHype shoxx911hype shoxx91Herzz
    msg $1 shoxx91Herzz shoxx911hype shoxx91SHype shoxx91SHype shoxx91SHype shoxx91SHype shoxx91SHype shoxx911hype shoxx91Herzz
  }
  elsif ($msgtags(msg-id).key == resub) {
    var %nick $iif($msgtags(display-name).key, $v1, $msgtags(login).key)
    VAR %sub-plan $replace($msgtags(msg-param-sub-plan).key, 1000, $chr(36) $+ 4.99, 2000, $chr(36) $+ 9.99, 3000, $chr(36) $+ 24.99, Prime, Prime)
	msg $1 shoxx91Herzz %nick shoxx91Herzz Danke für deinen ReSub im $msgtags(msg-param-months).key Monat in folge mit einem %sub-plan Sub! shoxx91Herzz shoxx91Herzz
    msg $1 shoxx91Herzz shoxx911hype shoxx91SHype shoxx91SHype shoxx91SHype shoxx91SHype shoxx91SHype shoxx911hype shoxx91Herzz
    msg $1 shoxx91Herzz shoxx911hype shoxx91SHype shoxx91SHype shoxx91SHype shoxx91SHype shoxx91SHype shoxx911hype shoxx91Herzz
  }
  elseif ($msgtags(msg-id).key == subgift) {
    var %nick_from $iif($msgtags(display-name).key, $v1, $msgtags(login).key) , %nick_to $iif($msgtags(msg-param-recipient-display-name).key, $v1, $msgtags(msg-param-recipient-user-name).key)
    VAR %sub-plan $replace($msgtags(msg-param-sub-plan).key, 1000, $chr(36) $+ 4.99, 2000, $chr(36) $+ 9.99, 3000, $chr(36) $+ 24.99)
    msg $1 shoxx91Herzz shoxx911hype %nick_from shoxx911hype shoxx91Herzz  Danke das du einen %sub-plan Sub an %nick_to $+ verschenkt hast! shoxx911hype shoxx91Herzz
  }
  elsif ($msgtags(msg-id).key == bits) {
    ?????? ?????? ?????
   }
  }
 }
   else {
    echo 4 @Subs Warning: The above message was not handled.
  }
}


That mean for Single Sub-gifts this

Code:
  elseif ($msgtags(msg-id).key == subgift) {
    var %nick_from $iif($msgtags(display-name).key, $v1, $msgtags(login).key) , %nick_to $iif($msgtags(msg-param-recipient-display-name).key, $v1, $msgtags(msg-param-recipient-user-name).key)
    VAR %sub-plan $replace($msgtags(msg-param-sub-plan).key, 1000, $chr(36) $+ 4.99, 2000, $chr(36) $+ 9.99, 3000, $chr(36) $+ 24.99)
    msg $1 shoxx91Herzz shoxx911hype %nick_from shoxx911hype shoxx91Herzz  Danke das du einen %sub-plan Sub an %nick_to $+ verschenkt hast! shoxx911hype shoxx91Herzz
  }


and when a user spend more then 1 Sub the Script only post 3 line of hype?
and the Second question. Can u help me with a Bit thanks?

Thanks for all.