mIRC Homepage
Posted By: Xanadu Getting an ident from a whois - 03/09/03 03:16 PM
How can I isolate the ident of someone after doing a whois?
Posted By: Collective Re: Getting an ident from a whois - 03/09/03 03:41 PM
Put this in your remotes:
Code:
raw 311:*:{
  echo -a $2 $+ 's ident is $3
}

And /whois someone.
Posted By: SladeKraven Re: Getting an ident from a whois - 03/09/03 03:46 PM
Code:
alias whois {
  .enable #whois
  set %w.nick $1
  whois $1
}
#whois on
Raw 311:*: { echo %w.nick $+ 's ident is ( $+ $3 $+ ) }
#whois end

Edit: Collective beat me to it. grin
Posted By: Xanadu Re: Getting an ident from a whois - 03/09/03 05:13 PM
Anyone see why this will run the first line then stop without processing the rest of the group?

#Ident on
raw 311:*:{ set %result.whois $3 }
.echo -s 4 $+ %result.whois is the ident of $nick $+ 
if (ident iswm $lcase(%result.whois)) {
ctcp $nick version
!.enable #Version
}
!.disable #Ident
#Ident end



Nevermind, I found it
© mIRC Discussion Forums