mIRC Homepage

/whois

Posted By: WildCard

/whois - 11/12/05 07:50 PM

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
Posted By: schaefer31

Re: /whois - 11/12/05 07:52 PM

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?
Posted By: genius_at_work

Re: /whois - 11/12/05 07:54 PM

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
Posted By: WildCard

Re: /whois - 11/12/05 07:57 PM

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
Posted By: genius_at_work

Re: /whois - 11/12/05 08:41 PM

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
Posted By: WildCard

Re: /whois - 11/12/05 09:00 PM

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
Posted By: genius_at_work

Re: /whois - 11/12/05 09:29 PM

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
Posted By: WildCard

Re: /whois - 11/12/05 10:34 PM

i know how to ban someone. but script it so that when a certain person joins he gets kick banned.
Posted By: schaefer31

Re: /whois - 11/12/05 11:08 PM

Code:
on *:JOIN:#YourChannel:{
  if ($nick == Someone) {
    mode # +b $nick $+ !*@*
    kick # $nick
  }
}
Posted By: RusselB

Re: /whois - 11/12/05 11:24 PM

or use the /ban command with the -k switch

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

Re: /whois - 11/12/05 11:34 PM

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
Posted By: WildCard

Re: /whois - 12/12/05 03:22 AM

im not always active on the channel
Posted By: genius_at_work

Re: /whois - 12/12/05 03:38 AM

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
© 2021 mIRC Discussion Forums