Halting "* Disconnected" message
#218822
25/02/10 07:58 PM
|
Joined: Feb 2010
Posts: 4
ZSV
OP
Self-satisified door
|
OP
Self-satisified door
Joined: Feb 2010
Posts: 4 |
Hi, I've been trying to hide that * Disconnected, but I can't seem to find a way. This script would work if it got triggered, but it doesn't: on ^*:disconnect: {
haltdef
}
Removing the ^ seems to fix the trigger problem, but of course, that means it can't be haltdef'ed anymore. Has anyone got a clue how to do it?
|
|
|
Re: Halting "* Disconnected" message
[Re: ZSV]
#218834
25/02/10 10:38 PM
|
Joined: Jul 2007
Posts: 1,129
Tomao
Hoopy frood
|
Hoopy frood
Joined: Jul 2007
Posts: 1,129 |
As far as I know the ^ event prefix is not supported for the on connect or disconnect event. According to the help file: The ^ event prefix currently works only on the following types of events: ACTION, BAN, CHAT, DEHELP, DEOP, DEVOICE, HELP, INVITE, JOIN, KICK, MODE, NICK, NOTICE, OP, OPEN, PART, PING, TEXT, UNBAN, USERMODE, VOICE, QUIT, SERV, SERVERMODE, SERVEROP, SNOTICE, TABCOMP, TOPIC, WALLOPS.
|
|
|
Re: Halting "* Disconnected" message
[Re: Tomao]
#218841
25/02/10 11:30 PM
|
Joined: Feb 2010
Posts: 4
ZSV
OP
Self-satisified door
|
OP
Self-satisified door
Joined: Feb 2010
Posts: 4 |
I know, but is there any other way I could do it?
|
|
|
Re: Halting "* Disconnected" message
[Re: ZSV]
#218848
26/02/10 01:53 AM
|
Joined: Jul 2007
Posts: 1,129
Tomao
Hoopy frood
|
Hoopy frood
Joined: Jul 2007
Posts: 1,129 |
You're doomed. I don't think you can hide or remove mirc's default reply of: * Disconnected
In fact, I've never seen people ask of getting rid of it. However, you can post this in the feature suggestions in the hope that Khaled will add an option to enable or disable it for showing.
|
|
|
Re: Halting "* Disconnected" message
[Re: ZSV]
#218850
26/02/10 02:27 AM
|
Joined: Oct 2004
Posts: 8,330
Riamus2
Hoopy frood
|
Hoopy frood
Joined: Oct 2004
Posts: 8,330 |
Just as a note... hiding that leaves you in the same basic situation people were in before mIRC got an improved disconnection check... you wouldn't notice that you got disconnected until you tried typing something.
Invision Support #Invision on irc.irchighway.net
|
|
|
Re: Halting "* Disconnected" message
[Re: ZSV]
#218852
26/02/10 03:36 AM
|
Joined: Aug 2006
Posts: 183
Thrull
Vogon poet
|
Vogon poet
Joined: Aug 2006
Posts: 183 |
You ought to be able to fake it by checking if the last line in the buffer is "* disconnected" (or whatever the message says), then save the buffer, clear the buffer and reload all but the last line of the buffer.
While this doesn't stop it from displaying, it does effectively mean you won't see it. I suspect it may be a bit memory intensive if your buffer is quite long though.
Yar
|
|
|
Re: Halting "* Disconnected" message
[Re: ZSV]
#218864
26/02/10 04:11 PM
|
Joined: Feb 2010
Posts: 4
ZSV
OP
Self-satisified door
|
OP
Self-satisified door
Joined: Feb 2010
Posts: 4 |
Well, the point is that I want it to be displayed in another language since I'm making a translation script for mIRC. Someone already told me to just change the default text (although I don't have a clue where and how), but could I put a variable in it?
|
|
|
Re: Halting "* Disconnected" message
[Re: ZSV]
#218867
26/02/10 05:42 PM
|
Joined: Jul 2006
Posts: 3,890
Wims
Hoopy frood
|
Hoopy frood
Joined: Jul 2006
Posts: 3,890 |
Well, his point was that you would be able to /echo your own message after refreshing the buffer window with all the buffer but the last line.
#mircscripting @ irc.swiftirc.net == the best mIRC help channel
|
|
|
Re: Halting "* Disconnected" message
[Re: ZSV]
#218869
26/02/10 06:13 PM
|
Joined: Feb 2010
Posts: 4
ZSV
OP
Self-satisified door
|
OP
Self-satisified door
Joined: Feb 2010
Posts: 4 |
Ok, I'll give it a try... I'm not very familiar with buffer manipulation, but I'll do my best :p
|
|
|
Re: Halting "* Disconnected" message
[Re: ZSV]
#218923
28/02/10 12:41 AM
|
Joined: Jul 2008
Posts: 236
s00p
Fjord artisan
|
Fjord artisan
Joined: Jul 2008
Posts: 236 |
Why not suggest translation tables for mIRC as an improvement? That's one thing that mIRC should have.
|
|
|
Re: Halting "* Disconnected" message
[Re: s00p]
#218930
28/02/10 02:00 PM
|
Joined: Feb 2009
Posts: 133
chacha
Vogon poet
|
Vogon poet
Joined: Feb 2009
Posts: 133 |
WorldDMT
|
|
|
Re: Halting "* Disconnected" message
[Re: chacha]
#218935
28/02/10 03:41 PM
|
Joined: Nov 2006
Posts: 1,559
Horstl
Hoopy frood
|
Hoopy frood
Joined: Nov 2006
Posts: 1,559 |
In any case (/echo or /*buf commands) you'll loose line colours and subtleties like indentation/hard wrapping. /filter has a -z switch, but won't be of use here either because -afaik- it won't take the status window as outfile.
|
|
|
|
|