gooshie commented on a Page, Powertrip  -  Aug 12, 2009

Knoeki,
%pt.total.nicks and %pt.mode.count.1-6 did not get
declared as local variables with the var command.
A call to a variable that is not set or declared
is set as a global variable by mIRC. The first time
that an undeclared variable is incrimented mIRC will
set it to 1 (one) thus the following three lines
give the same results.
inc %tmp.nick.count
set %tmp.nick.count 1
%tmp.nick.count = 1

"...how is it even relevant to this script at all?" output => spread across $+(,$calc(%pt.net.count - 1),) networks this counts servers => var %pt.net.total $scon(0) many chat visitors wont know the difference between servers and networks so i guess its ok to use either term in this type script. The only people that need to understand the difference between $server and $network is those who script the client and are concerned with multiserver issues. Even when taking into account that this snippet counts disconnected servers and unjoined channels there is still a few count errors.
 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.