guest598594 commented on a Page, Channel list + total  -  Jul 16, 2008

Instead of doing the number of channels + 1 thing, you can just notice after the while, like this:

while $chan(%x) {
  var %y = %y $v1
  inc %x
}
.notice $nick I\'m on these channels: %y Total: $chan(0)
 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.