Or to simplify it a bit more you can also do...

$SystemList = Split("ych-ctrx1|ych-ctrx2|ych-ctrx3","|")
If AScan ($SystemList, @WKSTA)<0
Use o: /Delete /Persistent
use o: "\\ychs2kmanage\officescan"
shell "o:\pccsrv\autopcc.exe"
EndIf