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 |
|
|
Introduction
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. :"(
mIRC Snippet:
Peak counter for channels -___-
Posted on Jul 1, 2008 11:50 pm
Posted on Jul 1, 2008 11:50 pm
you have a bracket missmatch
mIRC Snippet:
Peak counter for channels -___-
Posted on Jul 2, 2008 1:07 am
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.
mIRC Snippet:
Peak counter for channels -___-
Posted on Jul 9, 2008 6:40 am
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
mIRC Snippet:
Peak counter for channels -___-
Posted on Jul 31, 2008 4:03 pm
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





