mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Jul 2003
Posts: 39
X
Xanadu Offline OP
Ameglian cow
OP Offline
Ameglian cow
X
Joined: Jul 2003
Posts: 39
How can I isolate the ident of someone after doing a whois?

Joined: Dec 2002
Posts: 3,138
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,138
Put this in your remotes:
Code:
raw 311:*:{
  echo -a $2 $+ 's ident is $3
}

And /whois someone.

Joined: Dec 2002
Posts: 3,547
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,547
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

Joined: Jul 2003
Posts: 39
X
Xanadu Offline OP
Ameglian cow
OP Offline
Ameglian cow
X
Joined: Jul 2003
Posts: 39
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

Last edited by Xanadu; 03/09/03 05:29 PM.

Link Copied to Clipboard