vaseline28 commented on a Page, Peak counter for channels -___-  -  Jul 02, 2008

if (!$hget(peak)) { hmake peak }
if ($exists(peak.hsh)) { hload peak peak.hsh }
In the on :connect and on :load events change to:
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.

 Respond  
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.