mIRC Homepage
Posted By: aemarx Single Message Window - 21/12/02 01:39 PM
add a sign for single message window.
i mean like this... on *:text:*:X:. Where X stand for the sign of Single Message window.
Posted By: Hammer Re: Single Message Window - 21/12/02 05:16 PM
Code:

on ^*:TEXT:*:?:{
  ;
  ;  If we're using the single message window
  ;
  if ($gettok($readini($mircini,options,n0),22,44)) {
    echo $color(normal text) -bdflmrti2 $+(<,$chr(3),$cnick($nick).color,$nick,$chr(3),>) $1-
  }
  ;
  ;  Or if we're using Show Queries in Active
  ;
  elseif ($gettok($readini($mircini,options,n4),5,44)) {
    echo $color(normal text) -abdflmrti2 $+(*,$chr(3),$cnick($nick).color,$nick,$chr(3),*) $1-
  }
  ;
  ;  Otherwise, echo the message to their own window
  ;
  else {
    echo $color(normal text) -bflmrti2 $nick $+(<,$chr(3),$cnick($nick).color,$nick,$chr(3),>) $1-
  }
  ;
  ;  Halt the default text
  ;
  haltdef
}

Posted By: Dana Re: Single Message Window - 21/12/02 05:18 PM
*hesistates*

Not quite sure what you mean by that? You mean the message window where all the messages go into that window?

Either way, I think that everything can be accomplished the way things are, currently.

Code:
On *:TEXT:*:?: { commands }
On *:TEXT:*:?: { if ($nick == whoever) { commands } }
© mIRC Discussion Forums