Simon Posted May 21, 2006 Report Share Posted May 21, 2006 (edited) Hello, I'm trying to get a code that will display in a docked dialog what serevr I am currently using. Normally I use: did -ra $dname $server When I connect to a server, but, lately I've been using up to 3 servers at a time. HOw can I make it so that when I toggle between servers it w ill display the current server in my dialog? Thanks in advance PS - I tried a lame loop but had to keep hitting ctrl/break Edited May 21, 2006 by Vegeta Link to comment Share on other sites More sharing options...
TG007 Posted May 21, 2006 Report Share Posted May 21, 2006 try on *:active:*: { did -ra dialogname dialogid $server } Link to comment Share on other sites More sharing options...
Simon Posted May 21, 2006 Author Report Share Posted May 21, 2006 try on *:active:*: { did -ra dialogname dialogid $server } Nopers I think I had tried that some time ago to no avail. I think it would need to be some sort of loop but I can't figure it out Thank you anyway, err0rbob Link to comment Share on other sites More sharing options...
Josh` Posted May 21, 2006 Report Share Posted May 21, 2006 Nope, you don't need a loop. What err0r posted is what I use in my statusbar for my script's code. Works perfect really.. I'm using DCX though, so I don't use /did -ra stuff.... I use /xdid crap. Works whenever I go to windows on different servers like it should be. I would be happy to share the code...but it's exactly the same as err0rs up there ^^ lol. Link to comment Share on other sites More sharing options...
Simon Posted May 21, 2006 Author Report Share Posted May 21, 2006 (edited) EDIT- Fixed and it is working. Thank you. I could have had this working all along lol but a simple piece of logic escaped me! Thanks again Edited May 21, 2006 by Vegeta Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now