mIRC Home    About    Download    Register    News    Help

Print Thread
/whois #137340 11/12/05 07:50 PM
Joined: Dec 2004
Posts: 33
W
WildCard Offline OP
Ameglian cow
OP Offline
Ameglian cow
W
Joined: Dec 2004
Posts: 33
how do you /whois a hostmark?
also a script that on nick or on join ban nick if nick is "toronto" i had a script lost it and cant remember exactly how to script it. thankyou for your time

Re: /whois #137341 11/12/05 07:52 PM
Joined: Aug 2005
Posts: 525
S
schaefer31 Offline
Fjord artisan
Offline
Fjord artisan
S
Joined: Aug 2005
Posts: 525
What do you mean by 'whois a hostmask'? You can't perform a whois on a hostmask as far as I know. What kind of information are you looking to retrieve?

Re: /whois #137342 11/12/05 07:54 PM
Joined: Oct 2005
Posts: 1,741
G
genius_at_work Offline
Hoopy frood
Offline
Hoopy frood
G
Joined: Oct 2005
Posts: 1,741
As far as I know, you can't /whois a hostmask. You can /who a hostmask, and then /whois the nick(s) that are returned.

/who *host.mask.com*

-genius_at_work

Re: /whois #137343 11/12/05 07:57 PM
Joined: Dec 2004
Posts: 33
W
WildCard Offline OP
Ameglian cow
OP Offline
Ameglian cow
W
Joined: Dec 2004
Posts: 33
genius btw: i lub you

anyway. i tried that and
/who *sd.sd*
-
*sd.sd* End of /WHO list.
-
when my whois:
#judges4you WildCard Hr ~Me@SolidIRC-5BC6E2DE.sd.sd.cox.net :0 John
wildcard End of /WHO list.
i dont know whats wrong with that

Re: /whois #137344 11/12/05 08:41 PM
Joined: Oct 2005
Posts: 1,741
G
genius_at_work Offline
Hoopy frood
Offline
Hoopy frood
G
Joined: Oct 2005
Posts: 1,741
If you don't get any results with /who, it means that either no one matched your search (*sd.sd*) or everyone that matched is set to +i (invisible). Unfortunately there is no way around +i unless you are an IRCOp. I'm not sure if you can see yourself when you are +i.

-genius_at_work

Re: /whois #137345 11/12/05 09:00 PM
Joined: Dec 2004
Posts: 33
W
WildCard Offline OP
Ameglian cow
OP Offline
Ameglian cow
W
Joined: Dec 2004
Posts: 33
how would i kickban if someones nick = "any specific name" with the on *: whatever? cause i cant set akick, and hs ip keeps changing. all except his nick. hes kinda dumb about that. so thats what i have to go by cause i cant ban canada

Re: /whois #137346 11/12/05 09:29 PM
Joined: Oct 2005
Posts: 1,741
G
genius_at_work Offline
Hoopy frood
Offline
Hoopy frood
G
Joined: Oct 2005
Posts: 1,741
If the person isn't changing their nick, you can ban them like this:

/mode #chan +b nick!*@*

Replace #chan with the name of your channel.
Replace nick with the nickname of the person to ban

Note that this type of ban is usually ineffective, since the person can just change their nickname to evade it.

-genius_at_work

Re: /whois #137347 11/12/05 10:34 PM
Joined: Dec 2004
Posts: 33
W
WildCard Offline OP
Ameglian cow
OP Offline
Ameglian cow
W
Joined: Dec 2004
Posts: 33
i know how to ban someone. but script it so that when a certain person joins he gets kick banned.

Re: /whois #137348 11/12/05 11:08 PM
Joined: Aug 2005
Posts: 525
S
schaefer31 Offline
Fjord artisan
Offline
Fjord artisan
S
Joined: Aug 2005
Posts: 525
Code:
on *:JOIN:#YourChannel:{
  if ($nick == Someone) {
    mode # +b $nick $+ !*@*
    kick # $nick
  }
}

Re: /whois #137349 11/12/05 11:24 PM
Joined: Aug 2004
Posts: 7,252
R
RusselB Offline
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
or use the /ban command with the -k switch

Code:
on @!*:join:#:{
if ($nick == <nick>) { .ban -k $chan $nick }
}
  

Re: /whois #137350 11/12/05 11:34 PM
Joined: Oct 2005
Posts: 1,741
G
genius_at_work Offline
Hoopy frood
Offline
Hoopy frood
G
Joined: Oct 2005
Posts: 1,741
If you ban the person with the nick!*@* mask, they can never join the channel with that nick regardless of the host they use, thus they never need to be kickbanned. If you are going to use an onJOIN script to ban NICK with a NICK!*@* mask, then why not just ban them with that mask manually?

-genius_at_work

Re: /whois #137351 12/12/05 03:22 AM
Joined: Dec 2004
Posts: 33
W
WildCard Offline OP
Ameglian cow
OP Offline
Ameglian cow
W
Joined: Dec 2004
Posts: 33
im not always active on the channel

Re: /whois #137352 12/12/05 03:38 AM
Joined: Oct 2005
Posts: 1,741
G
genius_at_work Offline
Hoopy frood
Offline
Hoopy frood
G
Joined: Oct 2005
Posts: 1,741
You said that this person always uses the same nick, so just ban them once and leave them banned. Alternatively, if your network has a channel service (chanserv, etc) add an akick for their nickname.

-genius_at_work