|
Joined: May 2003
Posts: 161
Vogon poet
|
OP
Vogon poet
Joined: May 2003
Posts: 161 |
mIRC is truncating other people's /part messages to 62 characters and a ... (I know they're longer than that since /debug shows the whole thing), is there a way to turn this off?
|
|
|
|
Joined: Dec 2002
Posts: 1,321
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 1,321 |
That would be an on ^*:PART:#: event you have somewhere in your script. Remove that.
DALnet: #HelpDesk and #m[color:#FF0000]IR[color:#EEEE00]C
|
|
|
|
Joined: Dec 2002
Posts: 3,138
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 3,138 |
I just tested it in default mIRC and it truncated it here too.
|
|
|
|
Joined: Dec 2002
Posts: 2,985
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 2,985 |
[16th Jul 03 - 20:30:03] * Parts: Watchdog (Blah@192.168.0.IJ3=) (1234567890[234567890[234567890[234567890[234567890[234567890[2345...)
I get 65 chars. I am assuming that due to the three fullstops at the end that mIRC is intentionally set up to reject the rest and no there's no way to disable it. Surely 65 chars is long enough though?
|
|
|
|
Joined: Dec 2002
Posts: 1,321
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 1,321 |
* Quits: Mike` (Hammer@<censored>) ([234567890[234567890[234567890[234567890[234567890[234567890[234567890[234567890[234567890[234567890[234567890[234567890)
with /remote off... from EFnet.
DALnet: #HelpDesk and #m[color:#FF0000]IR[color:#EEEE00]C
|
|
|
|
Joined: Dec 2002
Posts: 2,985
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 2,985 |
Okay, here's what I get. I couldn't try it on Efnet for some reason, maybe the servers I was able to get on had part/quit reaosns turned off. I tried this on my own test bed and got:
Part (mIRC default):
[21:53:37] * Parts: Plod ([234567890[234567890[234567890[234567890[234567890[234567890[2345...)
Part (Scripted):
[21:52:53] >Plod has left #Chat -- 3 Users -- [email]Blah@192.168.0.rD7=[/email] [234567890[234567890[234567890[234567890[234567890[234567890[234567890[234567890[234567890[234567890[234567890[234567890[234567890[234567890[234567890[234567890[234567890[234567890[234567890[234567890[234567890[234567890[234567890[234567890
Quit (mIRC default):
[21:55:12] * Quits: Plod (QUIT: [234567890[234567890[234567890[234567890[234567890[234567890[234567890[234567890[234567890[234567890[234567890[234567890[234567890[234567890[234567890[234567890[234567890[234567890[234567890[234567890[234567890[234567890[234567890[234567890)
Quit (Scripted):
[21:54:48] >Plod has left IRC -- 3 Users -- Quit: [234567890[234567890[234567890[234567890[234567890[234567890[234567890[234567890[234567890[234567890[234567890[234567890[234567890[234567890[234567890[234567890[234567890[234567890[234567890[234567890[234567890[234567890[234567890[234567890
Only solution I can see (for the original poster) is to script in a part event and make it look like the default one so it matches the look of other events.
|
|
|
|
Joined: Dec 2002
Posts: 1,321
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 1,321 |
1. Oops on my previous post: I tested Quit rather than Part. 2. Scripted solution follows (including all mIRC settings for compatibility): [color:#840017]
on ^*:PART:#:{
var %msg | ; Holds the formatted part string
var %reason | ; Possibly holds the part reason
var %nick = $nick | ; Holds the Nick and possibly the (userid@site)
var %action = echo $color(part) | ; Holds the echo command to use (with or without -s)
; Get the correct value to use later on: channel event, default event or none
;
var %event = $gettok($readini($mircini, events, $chan), 2, 44)
if (%event == $null) $&
%event = $gettok($readini($mircini, events, default), 2, 44)
if (%event == $null) $&
%event = 0
; Format the reason like normal for placement later
;
if ($1) $&
%reason = ( $+ $1- $+ )
; [ ] Show addresses
;
if ($gettok($readini($mircini, Options, n2), 19, 44)) $&
%nick = %nick ( $+ $address $+ )
; [ ] Show short joins/parts
;
if ($gettok($readini($mircini, Options, n0), 2, 44)) $&
%msg = * Parts: %nick %reason
else $&
%msg = * %nick has left $chan %reason
; Determine where to place the message (if anywhere)
; * [ Events ] button for default event
; * Alt-minus -> Events for channel event
; * Channel event event overrules default event
; * If both are missing, entries go to the channel
;
; 0 = Channel
; 1 = Status Window
; 2 = Hide
;
if (%event == 1) $&
%action -sti %msg
elseif (%event == 0) $&
%action -ti $chan %msg
haltdef
}[/color] qwerty and I tested the part on EFnet as well. Apparently, EFnet doesn't do part messages ... or at least the servers we tried it on didn't. The on QUIT event would look similar, with the %event settings adjusted accordingly [ ..., 2, 44) becomes ..., 3, 44)] in both instances, and looping through $comchan($nick, %i).
DALnet: #HelpDesk and #m[color:#FF0000]IR[color:#EEEE00]C
|
|
|
|
Joined: Dec 2002
Posts: 3,127
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 3,127 |
Karen and i were testing /part reason a while back on Efnet, we got it to show on the server i was on, prison i think.
/me hands Hammer a dr pepper and frisks him for cookies
ParaBrat @#mIRCAide DALnet
|
|
|
|
Joined: Dec 2002
Posts: 2,985
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 2,985 |
I tried irc.prison.net (my favourite one) and irc.limelight.us. No go on either, though I have found part and quit reasons to be a bit iffy across several IRCd's in the past. Sometimes (and most probably don't realise it) the server will just not want to let you do it, even when the function is enabled.
|
|
|
|
Joined: Dec 2002
Posts: 2,809
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 2,809 |
EFnet's IRCd has an "anti spam quit message" feature. If you are connected for < N seconds, you can't use a quit message. The reason is, they found that most people who are connected for, for example, 2 minutes, usually only use the quit message for spam. Exactly how long you must be connected before it allows it depends on the particular server.
|
|
|
|
Joined: Dec 2002
Posts: 2,985
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 2,985 |
Hmmm, I think I stayed longer than that, maybe 10 mins, though myself and Parabrat may be affected by the same thing. Many bridges to cross today so I'll check it out tonight.
|
|
|
|
|