How can I isolate the ident of someone after doing a whois?
Put this in your remotes:
raw 311:*:{
echo -a $2 $+ 's ident is $3
}
And /whois someone.
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.
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