mIRC Home    About    Download    Register    News    Help

Print Thread
#221806 29/05/10 07:42 PM
Joined: May 2010
Posts: 7
P
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
P
Joined: May 2010
Posts: 7
Like BEFORE *:DISCONNECT: { /part #channelnamehere }

on *:DISCONNECT: { /part #channelnamehere }

Doesn't help with bncs.

If this is somewhat implemented, please let me know. Thanks.

Joined: Oct 2003
Posts: 3,918
A
Hoopy frood
Offline
Hoopy frood
A
Joined: Oct 2003
Posts: 3,918
You want your bnc to /part when you quit? This is something that can easily be set in the bnc settings itself, most likely.


- argv[0] on EFnet #mIRC
- "Life is a pointer to an integer without a cast"
argv0 #221808 29/05/10 07:49 PM
Joined: May 2010
Posts: 7
P
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
P
Joined: May 2010
Posts: 7
Only if I knew how to code perl and c++


(I use a ZNC)


Joined: Nov 2006
Posts: 1,559
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Nov 2006
Posts: 1,559
In many cases, mIRC won't know you're about to disconnect: if the connection fails, if you're killed-ghosted-or whatever by the server, etc pp. "On disconnect" may trigger several seconds after the actual disconnect.

However, you can overwrite the /disconnect /quit and /exit commands to include a "[scon -a] partall" - or create a new custom command to partall-then-disconnect?

Joined: May 2010
Posts: 7
P
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
P
Joined: May 2010
Posts: 7
Okay, so I usually just press the exit button

Is that /exit or /quit? or etc?

Joined: Oct 2003
Posts: 3,918
A
Hoopy frood
Offline
Hoopy frood
A
Joined: Oct 2003
Posts: 3,918
You can modify the disconnect toolbar button to perform a custom action.

Also, http://en.znc.in/wiki/Autoattach or http://en.znc.in/wiki/Stickychan .. you don't need C++/Perl, just configure your bnc properly. If it's not one of those, I'm sure there is a way to get it to not stay connected after you've disconnected.


- argv[0] on EFnet #mIRC
- "Life is a pointer to an integer without a cast"
argv0 #221830 29/05/10 10:05 PM
Joined: May 2010
Posts: 7
P
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
P
Joined: May 2010
Posts: 7
How do I modify the disconnect bar? ;o


Link Copied to Clipboard