mIRC Home    About    Download    Register    News    Help

Print Thread
#21517 29/04/03 03:25 PM
Joined: Jan 2003
Posts: 21
J
Jay_T Offline OP
Ameglian cow
OP Offline
Ameglian cow
J
Joined: Jan 2003
Posts: 21
hi anyone has code that if someone private me and my mirc will echo the query message in active window? thanks in advance

#21518 29/04/03 03:38 PM
Joined: Dec 2002
Posts: 2,031
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Dec 2002
Posts: 2,031
mIRC Options > IRC
In "Show in active:" box, check "Queries"

Edit: this will only echo to active window if there is no open query window for nick

or

on *:TEXT:*:?:echo $colour(normal) -at $+(<,$nick,@Query>) $1-
on *:ACTION:*:?:echo $colour(action) -at * $+($nick,@Query) $1-

Last edited by RoCk; 29/04/03 04:31 PM.
#21519 29/04/03 08:28 PM
Joined: Dec 2002
Posts: 417
O
Fjord artisan
Offline
Fjord artisan
O
Joined: Dec 2002
Posts: 417
You will have to put a ON/OFF switch in the channel to enable or disable %msgscreen

Code:
  [color:red]
ON *:OPEN:*:?: { 
  if ( %msgscreen == ON ) {
    echo -a 1 »14»15» 12Msg Screen: $nick is trying to msg you 14(2 $+ $strip($1-) $+ 14)
    beep 5 50 
  }
}
ON *:TEXT:*:?: { 
  if ( %msgscreen == ON ) {
    echo -a 1 »14»15» 12Msg Screen: $nick is trying to msg you 14(2 $+ $strip($1-) $+ 14)
    beep 5 50 
  }
}
ON *:ACTION:*:?: { 
  if ( %msgscreen == ON ) {
    echo -a 1 »14»15» 12Msg Screen: $nick is trying to msg you 14(2 $+ $strip($1-) $+ 14)
    beep 5 50 
  }
}
  [/color]  




Intelligence: It's better to ask a stupid question, then to prove it by not asking....

Link Copied to Clipboard