mIRC Home    About    Download    Register    News    Help

Print Thread
#191019 30/11/07 07:21 PM
Joined: Nov 2007
Posts: 117
T
Vogon poet
OP Offline
Vogon poet
T
Joined: Nov 2007
Posts: 117
;

on 1:open:?: {
.whois $1 | enable #whois
.echo $active 0,4Nick: $address($nick,3)
.echo $active 0,4 canales : 
}

#whois on
raw 319:*: { .set %canales $1- }
#whois off

i made this but i dont now if well writing
thnx pals



Joined: Aug 2005
Posts: 1,052
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Aug 2005
Posts: 1,052
It's ok


Code:
if $reality > $fiction { set %sanity Sane }
Else { echo -a *voices* }
Lpfix5 #191022 30/11/07 09:05 PM
Joined: Nov 2007
Posts: 117
T
Vogon poet
OP Offline
Vogon poet
T
Joined: Nov 2007
Posts: 117
#WHOIS Comando desconocido

can you chek

thnx

Joined: Feb 2006
Posts: 181
C
Vogon poet
Offline
Vogon poet
C
Joined: Feb 2006
Posts: 181
big EDIT grin
Code:
ON *:OPEN:?:{
  .whois $nick | .enable #whois
}

#whois on
raw *:* {
  if ($numeric == 311) {
    .echo $active 0,4Nick: $+(*!*,$3,@,$4)
  }
  if ($numeric == 319) {
    .echo $active 0,4 canales: $3-
  }
}
#whois END


raw 319 won't work if no channels so we use raw 311

This should work!


Another way: Open mIRC Options, click on IRC, and tick the Whois on query checkbox.

Last edited by Crinul; 30/11/07 10:15 PM.
Crinul #191025 30/11/07 09:50 PM
Joined: Nov 2006
Posts: 1,559
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Nov 2006
Posts: 1,559
this won't work either, as you try to echo the %canales instantly (the whois is requested that very moment) - echo the canales the moment the raw reply is received smile
something like
Code:
ON *:OPEN:?:{
  .enable #open.whois
  .set -e %open.nick $nick
  .whois $nick 
}

#open.whois off
raw 319:*: {
  if (($2 == %open.nick) && ($query(%open.nick))) { 
    echo $v1 Nick: $2
    echo $v1 Canales: $3-
    unset %open.nick
  }
}
#open.whois end


while I was writing my reply you corrected it on your own - nevermind wink

Last edited by Horstl; 30/11/07 09:52 PM.
Horstl #191045 01/12/07 04:08 AM
Joined: Nov 2007
Posts: 117
T
Vogon poet
OP Offline
Vogon poet
T
Joined: Nov 2007
Posts: 117
thnx bro

Crinul #191046 01/12/07 04:09 AM
Joined: Nov 2007
Posts: 117
T
Vogon poet
OP Offline
Vogon poet
T
Joined: Nov 2007
Posts: 117
thnx bro


Link Copied to Clipboard