mIRC Home    About    Download    Register    News    Help

Print Thread
part #channel w/o closing/clearing buffer #36116 13/07/03 10:59 AM
Joined: Dec 2002
Posts: 62
lonesome Offline OP
Babel fish
OP Offline
Babel fish
Joined: Dec 2002
Posts: 62
i'd like to be able to part a channel without closing the window, for example when getting disconnected, the window stays open. is there any way to script that? i've tried typing "/raw PART #channel :"
however, that still closed my window... =(

Re: part #channel w/o closing/clearing buffer #36117 13/07/03 03:54 PM
Joined: May 2003
Posts: 2,265
P
pheonix Offline
Hoopy frood
Offline
Hoopy frood
P
Joined: May 2003
Posts: 2,265
on ^*:DISCONNECT:{
//echo -a disconnected
haltdef
}


new username: tidy_trax
Re: part #channel w/o closing/clearing buffer #36118 13/07/03 07:18 PM
Joined: Jul 2003
Posts: 2
T
TeM Offline
Bowl of petunias
Offline
Bowl of petunias
T
Joined: Jul 2003
Posts: 2
mIRC has a configuration option that keep channels open.
Go to -> File -> Option -> IRC
And Then Tick Keep Channels Open.

Re: part #channel w/o closing/clearing buffer #36119 13/07/03 07:25 PM
Joined: Mar 2003
Posts: 437
M
MTech Offline
Fjord artisan
Offline
Fjord artisan
M
Joined: Mar 2003
Posts: 437
i have a script that will load the buffer, if you log...

http://mtec89.ath.cx/scripts.html
its called "Channel Log Loader"

it loads the logs for the chan and querys

Re: part #channel w/o closing/clearing buffer #36120 17/07/03 04:08 PM
Joined: Dec 2002
Posts: 62
lonesome Offline OP
Babel fish
OP Offline
Babel fish
Joined: Dec 2002
Posts: 62
sorry people, i have that option ticked, however, i wanted on part, not on disconnect..

Re: part #channel w/o closing/clearing buffer #36121 18/07/03 11:35 AM
Joined: May 2003
Posts: 2,265
P
pheonix Offline
Hoopy frood
Offline
Hoopy frood
P
Joined: May 2003
Posts: 2,265
on ^*:DISCONNECT:{
//echo -a disconnected
haltdef
}
on ^*:PART:#:{
//echo -a parted
haltdef
}


new username: tidy_trax
Re: part #channel w/o closing/clearing buffer #36122 18/07/03 01:14 PM
Joined: Dec 2002
Posts: 191
N
Nobodi Offline
Vogon poet
Offline
Vogon poet
N
Joined: Dec 2002
Posts: 191
Did you even read the original post.
Quote:

i'd like to be able to part a channel without closing the window


Did you try your code before you posted it, as the channel will still close when you part using that code.

Re: part #channel w/o closing/clearing buffer #36123 18/07/03 01:42 PM
Joined: Dec 2002
Posts: 1,321
H
Hammer Offline
Hoopy frood
Offline
Hoopy frood
H
Joined: Dec 2002
Posts: 1,321
If you (or your script) /part the channel, that's telling mIRC you don't want to be there anymore...thus, the window will always close. You can "fake" another channel window using a custom @#channel window, loadbuf the content of the channel into that window (and even load the nicklist) when you leave the channel using the on me:*:PART:#: event. You can hide that window from the switchbar, if you like, too. You could even make it reload that buffer if you rejoin the channel before you close mIRC using the on me:*:JOIN:#: event.


DALnet: #HelpDesk and #m[color:#FF0000]IR[color:#EEEE00]C