Pyscho Posted May 23, 2005 Report Share Posted May 23, 2005 alias c.test { var %x 1 while (%x <= $scon(0)) { if ($scon(%x).server == Msn) { scid $scon(%x).cid | scid $scid(%x) | scon %x | window -c "status window" } inc %x } } If I have about 5 Msn servers open, and i do /c.test I want it to close them all, but the above alias isnt working. any help anyone? Link to comment Share on other sites More sharing options...
Nimbus03 Posted May 23, 2005 Report Share Posted May 23, 2005 /window -c doesn't work for status windows, the keys alt z closes the active window, and if you get sendkey.dll you can use alt z in your code to close your status windows Link to comment Share on other sites More sharing options...
Pyscho Posted May 23, 2005 Author Report Share Posted May 23, 2005 i did /window -c "status window" in one of the servers statuses and it closed.. Link to comment Share on other sites More sharing options...
Nimbus03 Posted May 23, 2005 Report Share Posted May 23, 2005 ok you have the wrong identifier for MSN, use $scon(%x).network instead of $scon(%x).server 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