> means greater than, < means less than.
So if you say
#IF
CHECKSLAVECOUNT => 1
you're asking if the count equals or is greater than one, this is the same as saying it doesn't equal zero but, instead of just checking if there's one, it checks for any number higher than one. Some of your...