mIRC Homepage
Posted By: FireBrick hide 'join' and 'quit' messages - 23/02/03 05:41 PM
a member of a chatroom I frequent is annoying and uses obnoxious Quit messages.

He is on Ignore, so only thing I see are his:
* XXXX has joined etc."
and his
*XXXX has quit etc."

Is there a way to eliminate these also.
Maybe something like when he joins or quits the line is printed in white so it's invisible against the white background?
Or maybe someone has an even better idea?

Really appreciate it. Thanks in advance.
Posted By: Hammer Re: hide 'join' and 'quit' messages - 23/02/03 05:45 PM
on ^*:JOIN:#: if ($nick == ObnoxiousNick) haltdef
on ^*:QUIT: if ($nick == ObnoxiousNick) haltdef
on ^*:PART:#: if ($nick == ObnoxiousNick) haltdef
on ^*:NICK: if ($nick == ObnoxiousNick) || ($newnick == ObnoxiousNick) haltdef
Posted By: FireBrick Re: hide 'join' and 'quit' messages - 23/02/03 05:53 PM
wow, thanks for that speedy reply
I'm copy/pasting right now.

I appreciate it and so will the others that encouraged me to ask for this solution.
Posted By: FireBrick Re: hide 'join' and 'quit' messages - 23/02/03 07:32 PM
I think I understand the logic but it's the syntax that I'm not familiar with.
should there be parenthesis around the $nick == obnoxisousnick ???
or should it be ($the nick I want to not see) as in ($willy)???
as example
on ^*:JOIN:#: if ($willy) haltdef
or
on ^*:JOIN:#: if ($nick == willy) haltdef

And I think the last line of your script says that if he changes his nick to anything else, then that one is the nick that will be not seen???

Sorry but I'm really a beginner.
Posted By: xrn0id Re: hide 'join' and 'quit' messages - 23/02/03 07:49 PM
on ^*:JOIN:#: if ($nick == willy) haltdef

that is right
Posted By: FireBrick Re: hide 'join' and 'quit' messages - 25/02/03 02:39 AM
<N9NU-|-HamPC> [censored]
[20:01] * N9NU-|-HamPC has quit IRC (Read error: EOF from client)

on ^*:JOIN:#: IF ($NICK==N9NU-|-Linux) haltdef
on ^*:QUIT: IF ($nick==N9NU-|-Linux) haltdef
on ^*:PART:#: IF ($NICK==N9NU-|-Linux) haltdef
on ^*:NICK: IF ($NICK==N9NU-|-Linux ||$NEWNICK==N9NU-|-Linux) haltdef

on ^*:JOIN:#: IF ($NICK==N9NU-|-HamPC) haltdef
on ^*:QUIT: IF ($nick==N9NU-|-HamPC) haltdef
on ^*:PART:#: IF ($NICK==N9NU-|-HamPC) haltdef
on ^*:NICK: IF ($NICK==N9NU-|-HamPC ||$NEWNICK==N9NU-|-HamPC) haltdef
As you see he has two nicks
And as you see at the top which is a copy of his stuff, he is obnoxious.
but I must have done something wrong as the script doesn't block the join/quit as I hoped.

Thank you for your time
Posted By: _D3m0n_ Re: hide 'join' and 'quit' messages - 25/02/03 02:52 AM
use the code he gave u ... but make sure u use a space like this
if ($nick == NICK ) haltdef

thats why its not working like u hoped because ur not typing it out right
Posted By: FireBrick Re: hide 'join' and 'quit' messages - 25/02/03 02:58 AM
I had a hunch is was a syntax or similar erro
thank you
Posted By: Nimue Re: hide 'join' and 'quit' messages - 25/02/03 03:20 AM
The second of each event won't trigger though. You can only have one event in each file for the same event.

on ^*:JOIN:#:{
if ($nick == N9NU-|-Linux) || ($nick == N9NU-|-HamPC) haltdef
}

OR

on ^*:JOIN:#:IF (N9NU-|-* iswm $nick) haltdef

OR

on ^*:JOIN:#:IF ($fulladdress isignore) haltdef
Posted By: _D3m0n_ Re: hide 'join' and 'quit' messages - 25/02/03 03:24 AM
psst see that code?

on ^*:NICK: IF ($NICK==N9NU-|-HamPC ||$NEWNICK==N9NU-|-HamPC) haltdef
ON NICk its comparing the 2 nicks..... its not a second nick in an on join
Posted By: Nimue Re: hide 'join' and 'quit' messages - 25/02/03 03:38 AM
Quote:
psst see that code?

on ^*:NICK: IF ($NICK==N9NU-|-HamPC ||$NEWNICK==N9NU-|-HamPC) haltdef
ON NICk its comparing the 2 nicks..... its not a second nick in an on join
Quote:
on ^*:JOIN:#: IF ($NICK==N9NU-|-Linux) haltdef
<snip />
on ^*:JOIN:#: IF ($NICK==N9NU-|-HamPC) haltdef

You think?
Posted By: _D3m0n_ Re: hide 'join' and 'quit' messages - 25/02/03 04:30 AM
oops slap me silly and call me elvis sorry bout that one ...... thought u were saying the nick one wouldnt work ....... gotcha sorry bout that one
© mIRC Discussion Forums