mIRC Home    About    Download    Register    News    Help

Print Thread
Simple Cheer Script #262503 09/02/18 08:49 AM
Joined: Jul 2016
Posts: 10
K
KeviSkillz Offline OP
Pikka bird
OP Offline
Pikka bird
K
Joined: Jul 2016
Posts: 10
Due to my PC needing a reset i lost alot of my previours scripts frown

If anyone knows a twitch script which when a person cheers/donates bits it adds up the total and displays a message “user has donated x bits <3” in chat.

Re: Simple Cheer Script [Re: KeviSkillz] #262506 10/02/18 02:34 AM
Joined: Apr 2016
Posts: 86
B
Bestpeff Offline
Babel fish
Offline
Babel fish
B
Joined: Apr 2016
Posts: 86
Code:
on $*:text:/(^|\s)cheer\d+(\s|$)/i:#CHANNELNAME: {
  if (($msgtags(room-id).key == ROOMID) && ($msgtags(bits).key)) {
    msg # $msgtags(display-name).key has donated $msgtags(bits).key bits <3
  }
}

Re: Simple Cheer Script [Re: Bestpeff] #262508 10/02/18 10:36 AM
Joined: Jul 2016
Posts: 10
K
KeviSkillz Offline OP
Pikka bird
OP Offline
Pikka bird
K
Joined: Jul 2016
Posts: 10
Thank you, it works perfect <3