mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Dec 2002
Posts: 26
F
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.

Joined: Dec 2002
Posts: 1,321
H
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
Joined: Dec 2002
Posts: 26
F
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.

Joined: Dec 2002
Posts: 26
F
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.

Joined: Jan 2003
Posts: 237
X
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
}
Joined: Dec 2002
Posts: 26
F
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

Joined: Dec 2002
Posts: 1,527
_
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
Joined: Dec 2002
Posts: 26
F
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

Joined: Dec 2002
Posts: 699
N
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

Joined: Dec 2002
Posts: 1,527
_
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
Joined: Dec 2002
Posts: 699
N
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?

Joined: Dec 2002
Posts: 1,527
_
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

Link Copied to Clipboard