sorry to bugging You with this again but the ${Session[1]} doesn't seem work as You have decribed before. I am useing
Code: Select all
Uplink RemoteUplink -Connect ${computer2}
echo ${Session} - Returns name of the current session.Lax wrote: anyway, Uplink and Sessions are two different commands, but here:
${Sessions} -- number of OTHER sessions
${Session[1]} -- name of first OTHER session
${Session[is1]} -- number of OTHER session named is1
echo ${Sessions} - Returns 0 from the Ingame Console but returns 2 from the Uplink Console.
echo ${Session[1]} - Returns NULL in both Consoles
echo ${Session[is1]} - Returns NULL in both Consoles
When i use the command 'Sessions' from the Uplink it returns:
Code: Select all
Inner Space sessions
------------------
is1
COMP-02.is1
2 sessions
What I am looking for is to use ${Session[1]} and [2] to get hold of the result from the list above, but it only returns NULL.
Kindly
Val