mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Dec 2002
Posts: 212
V
Fjord artisan
OP Offline
Fjord artisan
V
Joined: Dec 2002
Posts: 212
well all of you know that everyone is able to change the /part alias to whatever he wants to
the problem is that even if changed, mirc still uses it's built in alias when channel window is closed either by ctrl+f4, alt+z or x buton
I realize the reasons why this is in that way - what if I use "alias part return" for example
But tis is too restrictive for me, let's say I want to use part msg, or prevent closing the window (in my case the first) - there's no way I can do that with scripts
I know that this may lead to abuse or confuse, but well, it's not right to limit something for those reasons
Perhaps an option that will enable such features that "improve scripting but can lead to serious problems when not used right" could be implemented?
I beleive many of you have few thing like that on mind
So, what do you think?


And all I need now is intellectual intercourse, a soul to dig the hole much deeper
Joined: Jan 2003
Posts: 7
M
Nutrimatic drinks dispenser
Offline
Nutrimatic drinks dispenser
M
Joined: Jan 2003
Posts: 7
one thing i would like is to be able to /part and keep the chan open...

/part -o #chan m00 etc


Joined: Dec 2002
Posts: 1,321
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Dec 2002
Posts: 1,321
You could easily script something very, very similar to what you have in mind. All you have to do is on me:*:PART:#:, savebuf the current buffer, open a window -kE $+(@,$chan), set the titlebar correctly as it is shown in the channel, loadbuf the buffer back (add the nicks, if you like), and then allow the rest of the part to complete, closing the window. If you rejoin the same channel on the same connection, you can reverse the process if you so chose (though this would likely impact logging unless you did the slooooooow loop through the buffer, if it's large, and used the echo -g parameter to prevent the lines from getting logged again).


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

Link Copied to Clipboard