Code:
Pseudo code LOG :

Someone writes
Check if user wrote before
If yes, increase value by 1, write value
Else write value 1

Pseudo code CHECK : 

Someone subs
Call log value
Message channel with log value?

Pseudo code CHECK v2 (Sakana) : 

Someone subs 
Call log file
Check entire log file for $nick matches
Message channel with log value?

Something like that.

You'll need the on text event, and some way to store it that you like. Note that this script is extremely inefficient to begin with as it will only take up unneccesary space and most likely have a redundant amount of users with <5 in value.


Nillens @ irc.twitch.tv
Nillen @ irc.rizon.net