mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Mar 2005
Posts: 2
C
cRiTiC Offline OP
Bowl of petunias
OP Offline
Bowl of petunias
C
Joined: Mar 2005
Posts: 2
I'm trying to make a script that will quit and close a status window if a certain condition applies, I can't seem to find a command that will do this. If anyone has any suggestions, please respond

Joined: Mar 2004
Posts: 175
Vogon poet
Offline
Vogon poet
Joined: Mar 2004
Posts: 175
Code:
alias swin {
  if ($status == connected) { disconnect }
  window -c "Status Window"
}

Note that this will only work if you have more than one status window open because mIRC allows a minimum of one.


- Relinsquish
Joined: Mar 2005
Posts: 2
C
cRiTiC Offline OP
Bowl of petunias
OP Offline
Bowl of petunias
C
Joined: Mar 2005
Posts: 2
thanks


Link Copied to Clipboard