mIRC Home    About    Download    Register    News    Help

Print Thread
hide 'join' and 'quit' messages #12696 23/02/03 05:41 PM
Joined: Dec 2002
Posts: 26
F
FireBrick Offline OP
Ameglian cow
OP Offline
Ameglian cow
F
Joined: Dec 2002
Posts: 26
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.

Re: hide 'join' and 'quit' messages #12697 23/02/03 05:45 PM
Joined: Dec 2002
Posts: 1,321
H
Hammer Offline
Hoopy frood
Offline
Hoopy frood
H
Joined: Dec 2002
Posts: 1,321
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


DALnet: #HelpDesk and #m[color:#FF0000]IR[color:#EEEE00]C
Re: hide 'join' and 'quit' messages #12698 23/02/03 05:53 PM
Joined: Dec 2002
Posts: 26
F
FireBrick Offline OP
Ameglian cow
OP Offline
Ameglian cow
F
Joined: Dec 2002
Posts: 26
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.

Re: hide 'join' and 'quit' messages #12699 23/02/03 07:32 PM
Joined: Dec 2002
Posts: 26
F
FireBrick Offline OP
Ameglian cow
OP Offline
Ameglian cow
F
Joined: Dec 2002
Posts: 26
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.

Re: hide 'join' and 'quit' messages #12700 23/02/03 07:49 PM
Joined: Jan 2003
Posts: 237
X
xrn0id Offline
Fjord artisan
Offline
Fjord artisan
X
Joined: Jan 2003
Posts: 237
on ^*:JOIN:#: if ($nick == willy) haltdef

that is right



;Check for Life

if (%life == $null) {
goto getlife
}
Re: hide 'join' and 'quit' messages #12701 25/02/03 02:39 AM
Joined: Dec 2002
Posts: 26
F
FireBrick Offline OP
Ameglian cow
OP Offline
Ameglian cow
F
Joined: Dec 2002
Posts: 26
<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

Re: hide 'join' and 'quit' messages #12702 25/02/03 02:52 AM
Joined: Dec 2002
Posts: 1,527
_
_D3m0n_ Offline
Hoopy frood
Offline
Hoopy frood
_
Joined: Dec 2002
Posts: 1,527
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


D3m0nnet.com
Re: hide 'join' and 'quit' messages #12703 25/02/03 02:58 AM
Joined: Dec 2002
Posts: 26
F
FireBrick Offline OP
Ameglian cow
OP Offline
Ameglian cow
F
Joined: Dec 2002
Posts: 26
I had a hunch is was a syntax or similar erro
thank you

Re: hide 'join' and 'quit' messages #12704 25/02/03 03:20 AM
Joined: Dec 2002
Posts: 699
N
Nimue Offline
Fjord artisan
Offline
Fjord artisan
N
Joined: Dec 2002
Posts: 699
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

Re: hide 'join' and 'quit' messages #12705 25/02/03 03:24 AM
Joined: Dec 2002
Posts: 1,527
_
_D3m0n_ Offline
Hoopy frood
Offline
Hoopy frood
_
Joined: Dec 2002
Posts: 1,527
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


D3m0nnet.com
Re: hide 'join' and 'quit' messages #12706 25/02/03 03:38 AM
Joined: Dec 2002
Posts: 699
N
Nimue Offline
Fjord artisan
Offline
Fjord artisan
N
Joined: Dec 2002
Posts: 699
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?

Re: hide 'join' and 'quit' messages #12707 25/02/03 04:30 AM
Joined: Dec 2002
Posts: 1,527
_
_D3m0n_ Offline
Hoopy frood
Offline
Hoopy frood
_
Joined: Dec 2002
Posts: 1,527
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


D3m0nnet.com