For the mass ping you could just /ctcp # PING, it will send it to the channel and everyone will reply to you. That way you only have 1 %start $tick and not a while loop.
Edit I was also look into hash tables for something like this =)
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.