make a normal counter:

[f ]x[+ 1]

with the outlet of [f ] going to the LEFT inlet of [+ 1] , and the outlet of [+ 1] going to the RIGHT inlet of [f ]


then,

[wrap -99 100]
|
[abs]


if your limit was 1000, you would do [wrap -999 1000] ..etc



hope that works.