Script for friends online time statistic