If you have other variables it might be safer to use something like
inc $+(%,botcount.,$nick)
to avoid situations where someone has a nick that makes a %var from another script increase...