mIRC Home    About    Download    Register    News    Help

Print Thread
Halting "* Disconnected" message #218822 25/02/10 07:58 PM
Joined: Feb 2010
Posts: 4
Z
ZSV Offline OP
Self-satisified door
OP Offline
Self-satisified door
Z
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:
Code:
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
T
Tomao Offline
Hoopy frood
Offline
Hoopy frood
T
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:
Quote:
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
Z
ZSV Offline OP
Self-satisified door
OP Offline
Self-satisified door
Z
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
T
Tomao Offline
Hoopy frood
Offline
Hoopy frood
T
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,327
Riamus2 Offline
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,327
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: 182
T
Thrull Offline
Vogon poet
Offline
Vogon poet
T
Joined: Aug 2006
Posts: 182
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
Z
ZSV Offline OP
Self-satisified door
OP Offline
Self-satisified door
Z
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,582
W
Wims Offline
Hoopy frood
Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 3,582
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.


Looking for a good help channel about mIRC? Check #mircscripting @ irc.swiftirc.net
Re: Halting "* Disconnected" message [Re: ZSV] #218869 26/02/10 06:13 PM
Joined: Feb 2010
Posts: 4
Z
ZSV Offline OP
Self-satisified door
OP Offline
Self-satisified door
Z
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
S
s00p Offline
Fjord artisan
Offline
Fjord artisan
S
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
C
chacha Offline
Vogon poet
Offline
Vogon poet
C
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
H
Horstl Offline
Hoopy frood
Offline
Hoopy frood
H
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.