mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Dec 2002
Posts: 62
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... =(

Joined: May 2003
Posts: 2,265
P
Hoopy frood
Offline
Hoopy frood
P
Joined: May 2003
Posts: 2,265
on ^*:DISCONNECT:{
//echo -a disconnected
haltdef
}


new username: tidy_trax
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.

Joined: Mar 2003
Posts: 437
M
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

Joined: Dec 2002
Posts: 62
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..

Joined: May 2003
Posts: 2,265
P
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
Joined: Dec 2002
Posts: 191
N
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.

Joined: Dec 2002
Posts: 1,321
H
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

Link Copied to Clipboard