Ok, I figured this one out. I just changed the variable at the end of the command...

FROM:
If AScan ($SystemList, @WKSTA)>=0

TO:
If AScan ($SystemList, @WKSTA)<>0