mIRC Home    About    Download    Register    News    Help

Print Thread
#137340 11/12/05 07:50 PM
Joined: Dec 2004
Posts: 33
W
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

#137341 11/12/05 07:52 PM
Joined: Aug 2005
Posts: 525
S
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?

#137342 11/12/05 07:54 PM
Joined: Oct 2005
Posts: 1,741
G
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

#137343 11/12/05 07:57 PM
Joined: Dec 2004
Posts: 33
W
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

#137344 11/12/05 08:41 PM
Joined: Oct 2005
Posts: 1,741
G
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

#137345 11/12/05 09:00 PM
Joined: Dec 2004
Posts: 33
W
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

#137346 11/12/05 09:29 PM
Joined: Oct 2005
Posts: 1,741
G
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

#137347 11/12/05 10:34 PM
Joined: Dec 2004
Posts: 33
W
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.

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

#137349 11/12/05 11:24 PM
Joined: Aug 2004
Posts: 7,252
R
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 }
}
  

#137350 11/12/05 11:34 PM
Joined: Oct 2005
Posts: 1,741
G
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

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

#137352 12/12/05 03:38 AM
Joined: Oct 2005
Posts: 1,741
G
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


Link Copied to Clipboard