I have a script bot that shares cryptocurrency with people in the channel its in... but at the moment, its sending randomly to even people who havent talked for a day or two. I want it to only send to those who are active...

This is the code as of now:
Code:
ON *:TEXT:*tipped HYPStorm*:##hyperstake:{ 
  if ($nick == Matylda) {
    timer 1 2 msg ##hyperstake Its looking a like a storms a brewing... (courtesy of $1 )
    timer 1 4 msg ##hyperstake PREPARE FOR A SOAKING 
    timer 1 7 msg ##hyperstake !rain $4 10 
  }
}


the $4 is the amount that was tipped to share and the 10 is how many people to split.

if this could look for active users. it wouldnt need the 10 and would just split the tip between the active users.

Is there anyway to do that?