mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Dec 2011
Posts: 22
P
Ameglian cow
OP Offline
Ameglian cow
P
Joined: Dec 2011
Posts: 22
An optional parameter to /quit & /disconnect to close the server/network window after disconnect, instead of just disconnecting & leaving the window open

Joined: Jul 2006
Posts: 4,150
W
Hoopy frood
Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 4,150
what about /window -c "status window"?


#mircscripting @ irc.swiftirc.net == the best mIRC help channel
Joined: Dec 2002
Posts: 1,541
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Dec 2002
Posts: 1,541
sure, why not? Even tho there's a scripted version, this one's harmless yet useful enough


Those who fail history are doomed to repeat it
Joined: Oct 2003
Posts: 3,918
A
Hoopy frood
Offline
Hoopy frood
A
Joined: Oct 2003
Posts: 3,918
Code:
/alias /quit if ($1 == -c) { var %close = $true | tokenize 32 $2- } | !quit $1- | if (%close) window -c "Status Window"


/quit -c [optional message]


- argv[0] on EFnet #mIRC
- "Life is a pointer to an integer without a cast"

Link Copied to Clipboard