Bes Relay as a Variable?

(imported topic written by boostaz191)

I have 7 disparate sites, each with its own relay sever. I want have placed a null file share one each relay server and wish to have the action reference the relay server of the client to which the client connects.

Example:

Current config:

waithidden cmd.exe /C \Master Server\nullsession$\chcupdate\update.bat

Desired Config:

waithidden cmd.exe /C \My Relay Server\nullsession$\chcupdate\update.bat

I considered using something like “value of setting “__RelayServer1” of client as string” however that gives a longer string that would then have to be parsed. Is there another option?

(imported comment written by boostaz191)

Ok I feel stupid but here is what i ended up with:

waithidden cmd.exe /C {preceding texts of first “:” of (preceding texts of first “/” of (following texts of first “//” of (value of setting “__RelayServer1” of client as string))) as trimmed string}\nullsession$\chcupdate\update.bat

LAME-O