mIRC Home    About    Download    Register    News    Help

Print Thread
#7634 21/01/03 09:02 AM
Joined: Jan 2003
Posts: 4
O
Self-satisified door
OP Offline
Self-satisified door
O
Joined: Jan 2003
Posts: 4

ok, i tried every way...
i just want to prevent channel windows from closing
by accidentally clicking on the x...
seems to be no way...on part etc. doesnt work..

can anyone help?


#7635 21/01/03 09:17 AM
Joined: Dec 2002
Posts: 39
F
Ameglian cow
Offline
Ameglian cow
F
Joined: Dec 2002
Posts: 39
The only thing I can think of that <<might>> work is the on close event - use the ^ prefix and use haltdef inside...

but I cant check the helpfile or even test it to see whether it might work or not wink

#7636 21/01/03 09:35 AM
Joined: Dec 2002
Posts: 212
V
Fjord artisan
Offline
Fjord artisan
V
Joined: Dec 2002
Posts: 212
I don't beleive it's possible with channel windows
In general the event that handles window closing is on close, but it only works for custom windows
So if you want to do this use custom windows for channels
I don't know if there's a dll that do this tho...


And all I need now is intellectual intercourse, a soul to dig the hole much deeper
#7637 21/01/03 11:09 AM
Joined: Dec 2002
Posts: 77
B
Babel fish
Offline
Babel fish
B
Joined: Dec 2002
Posts: 77
I don't think it actually possible to stop the channel from closing, the best you could do is to immediately rejoin the channel, maybe with the following...

Code:
 
on *:PART:*: {
  .timer 1 0 join $chan
}  


Link Copied to Clipboard