You can use $server or $network for if-check.


Dont give a fish - teach to fish!