Hi
I have been struggling with the uplink sessions on my 2 comps.
What I am looking for, but can't seem to find, is if the command UpLink Sessions stores the result somewhere or is it just echoed to the console?
Why I am asking is because I would like to see who of my chars on the 5 diff accounts are connected when I do a remoteuplink. In the eq2botlib.iss theres a line - uplink name ${Me.Name} - canges session name to the character name.
So everytime I start eq2botcommander and run eq2bot from it, it will change the session names from is1, is2, is3 to my logged in toons names.
Is it possible to grab that sessions info into a few variables or is it just for infomation purpose? I also tried to use the redirect command but it wont fill in the output from the uplink sessions command, only creates an empty file.
Would appriciate any help pls.
Kindly
Val
Uplink Sessions
Moderators: Lavish Software Team, Moderators
that's something weird with EQ2Bot, i dont know if it squelches or whatI also tried to use the redirect command but it wont fill in the output from the uplink sessions command, only creates an empty file.
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
Uplink is kind of a shortcut command, it's the same as:
relay <name of uplink> <command>
It allows you to execute a command inside the Uplink. The Sessions command is only available in the Uplink. So is Name (and furthermore the Name command is only available when relayed)
So yes, from a session, that is exactly how you would do it. But in the Uplink console, you just type Sessions, and it's the same thing.
relay <name of uplink> <command>
It allows you to execute a command inside the Uplink. The Sessions command is only available in the Uplink. So is Name (and furthermore the Name command is only available when relayed)
So yes, from a session, that is exactly how you would do it. But in the Uplink console, you just type Sessions, and it's the same thing.

I tried the same thing in the Uplink Console. Here are some results:hegvape wrote:Ok, I have tried it out and from what I can find out the ${Session} and ${Sessions} are only working on the local machine.
So I'm guessing (I checked the wiki) that it doesn't support uplinked sessions?
Session and Sessions - Displays the name of all sessions (local and remote)
echo ${Sessions} returns 4 (I have 2 sessions on 2 comps running)
What doesn't work: echo ${Session[1-4]}, it only returns NULL. So I guess it's a dead end for me unless i write a small script to run on each of my 'remote clients' that would send me the info I need to be able to control them regardless of the toons name.
Thanks again
Kindly
Val