Skip to content
General IRCX

server question

A TG007 community discussion started by Pyscho.

Discussion 4 posts
Page 1 of 1
Open
Topic #3622 · 4 published posts · 1,343 views

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?

/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

"the important thing was, that i had an onion on my belt, which was the style at the time"

i did /window -c "status window" in one of the servers statuses and it closed..

ok you have the wrong identifier for MSN, use $scon(%x).network instead of $scon(%x).server

"the important thing was, that i had an onion on my belt, which was the style at the time"