mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Feb 2003
Posts: 2,812
Raccoon Offline OP
Hoopy frood
OP Offline
Hoopy frood
Joined: Feb 2003
Posts: 2,812
Request wildcard /comclose. Choose your own favorite behavior -- /sockclose, /hfree, /timers, etc.

ie, /comclose -w WshShell.*
Closes all com objects with names beginning with "WshShell."


Well. At least I won lunch.
Good philosophy, see good in bad, I like!
Joined: Apr 2010
Posts: 969
F
Hoopy frood
Offline
Hoopy frood
F
Joined: Apr 2010
Posts: 969
I've asked for this before. The issue is 'ordering'. If a 'parent' com closes without closing its children first unexpected behaviors might occur.


I am SReject
My Stuff
Joined: Feb 2003
Posts: 2,812
Raccoon Offline OP
Hoopy frood
OP Offline
Hoopy frood
Joined: Feb 2003
Posts: 2,812
Ah. So it's better to encourage ordered cleanup. Except, I can see this as being a difficult or tedious task where a lot of child dispatch names are dynamically created. So this would be a lot easier for mIRC to manage for us.

Solution: mIRC keeps track of each com's creation time (ordering). The use of "/comclose -w *" would close the newest coms first and the oldest ones last. No unexpected behaviors. smile


Well. At least I won lunch.
Good philosophy, see good in bad, I like!

Link Copied to Clipboard