if
(
(
it starts with "127." OR it starts with "::"
)
of
(
name of registration server as string
)
)
then
(
if
(
(
exists setting"_BESRelay_PostResults_ParentRelayURL" of it AND exists value of setting"_BESRelay_PostResults_ParentRelayURL" of it
)
of client
)
then "n/a (BES Relay Installed)" else "n/a (BES Server Installed)"
)
else
(
name of registration server as string
)
if ((it starts with "127." OR it starts with "::") of (name of registration server as string)) then (if ((exists setting"_BESRelay_PostResults_ParentRelayURL" of it AND exists value of setting"_BESRelay_PostResults_ParentRelayURL" of it) of client) then "n/a (BES Relay Installed)" else "n/a (BES Server Installed)") else (name of registration server as string)