mIRC Home    About    Download    Register    News    Help

Print Thread
#2874 21/12/02 01:39 PM
Joined: Dec 2002
Posts: 4
A
aemarx Offline OP
Self-satisified door
OP Offline
Self-satisified door
A
Joined: Dec 2002
Posts: 4
add a sign for single message window.
i mean like this... on *:text:*:X:. Where X stand for the sign of Single Message window.

Last edited by aemarx; 21/12/02 02:06 PM.
#2875 21/12/02 05:16 PM
Joined: Dec 2002
Posts: 1,321
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Dec 2002
Posts: 1,321
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
}


Last edited by Hammer; 21/12/02 05:30 PM.

DALnet: #HelpDesk and #m[color:#FF0000]IR[color:#EEEE00]C
#2876 21/12/02 05:18 PM
Joined: Dec 2002
Posts: 144
D
Vogon poet
Offline
Vogon poet
D
Joined: Dec 2002
Posts: 144
*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 } }


"Any sufficiently advanced technology is indistinguishable from magic." - Arthur C. Clarke

Link Copied to Clipboard