Top

Peak counter for channels -___-


mIRC Code
+ 0 likes
Please Register to submit score.
Average Score  0.0
Scores Submitted  0
Date Added  Jul 01, 2008
Last Updated  Jul 01, 2008
Tags  counter  peak  visitor 
  Bookmark and Share

Introduction

This script will keep the record of visitors on a channels.
When user joins and the count of users is bigger than the peak for channel it will be displayed to the channel, the peak for the channel is also possible to get by using !Peak.

I decided to add popup menu to keep list of the channels where this script should work, delete channels and add.

Sorry if there's mistake(s) i can't use mirc to test. :"(

Grab the Code

Comments

  (4)  RSS
napa182
Comments: 1,152
 
mIRC Snippet:  Peak counter for channels -___-
Posted on Jul 1, 2008 11:50 pm
you have a bracket missmatch
vaseline28
Comments: 154
 
mIRC Snippet:  Peak counter for channels -___-
Posted on Jul 2, 2008 1:07 am
Quote:
if (!$hget(peak)) { hmake peak }
if ($exists(peak.hsh)) { hload peak peak.hsh }

In the on *:connect and on *:load events change to:
Quote:
if (!$hget(peak)) hmake peak
else hload peak peak.hsh

Instead of checking twice, it skips straight to the next bit, making it faster.
Taking out the brackets also makes it faster.
juhapuha
Comments: 70
 
mIRC Snippet:  Peak counter for channels -___-
Posted on Jul 9, 2008 6:40 am
>.< fu*k :) I need mIRC! not nice to script at all with just a txt editor :D
Yilena
Comments: 8
 
mIRC Snippet:  Peak counter for channels -___-
Posted on Jul 31, 2008 4:03 pm
It enables and disables at once.. and gives me a whole channel list of the server :x

Please Register or Login to start posting comments.
Bottom