mIRC Home    About    Download    Register    News    Help

Print Thread
#79412 15/04/04 03:19 PM
Joined: Oct 2003
Posts: 16
ytytyt Offline OP
Pikka bird
OP Offline
Pikka bird
Joined: Oct 2003
Posts: 16
I would like to ban a user based on their /whois info ; thier Full Name info, as an added way to ban users onjoins besides, ident & address, but ...Iam not writing it out right to work, please help? Thanks in advance wink


"ytytyt = a lamers' version of asdf"
#79413 15/04/04 03:26 PM
Joined: Dec 2002
Posts: 1,541
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Dec 2002
Posts: 1,541
raw 311:*: {
if (desired-fullname == whatever-you-want-to-look-for) { commands }
}

I dont know how this'd work for a ban cause it doesnt display the channel in $1- at all (on a /whois), but that's at least a start. I believe (based off of dalnet's reply):

$1 is your nickname
$2 is their nickname
$3 is identd
$4 is host
$5 shows * (IIRC it's server hops from your location but shows * if you whois yourself)
$6- shows their realname field entry from mirc's options menu (aka ALT + O --> Connect --> Full Name Filed)


Those who fail history are doomed to repeat it
#79414 15/04/04 03:42 PM
Joined: Jun 2003
Posts: 5,024
M
Hoopy frood
Offline
Hoopy frood
M
Joined: Jun 2003
Posts: 5,024
on @*:join:#channel:{
whois $nick
}
raw 311:*:{
if (*word* iswm $6) && ($2 ison #channel) {
ban -k #channel $2 3 Bad full name
}
}

$1 is yourself, $2 is the other nickname. There is no # or $chan in raws (as far as I know), so you have to specify the channel.

Hope this helps smile

Regards,


Mentality/Chris
#79415 16/04/04 06:30 AM
Joined: Jan 2003
Posts: 428
P
Fjord artisan
Offline
Fjord artisan
P
Joined: Jan 2003
Posts: 428
To answer the question you asked -

There is no banmask that works on "real name" - you're stuck with variations/patterns using the nick!ident@host address.

The only option is to use the raw reply (as suggested by others) to identify the person you want to ban, and then ban them.

PM


IRCnet & DALnet @#travelersinn
:-: IRC for fun and relaxation :-:

Link Copied to Clipboard