mIRC Home    About    Download    Register    News    Help

Print Thread
#103471 21/11/04 01:34 PM
Joined: Mar 2004
Posts: 540
A
Armada Offline OP
Fjord artisan
OP Offline
Fjord artisan
A
Joined: Mar 2004
Posts: 540
As a reference I will point you to my recent Scripts Popups post that is here basically is mirc supposed to support multiple words or is it a fluke that "Kill Messages" works and "Serv Bans" doesnt?

#103472 21/11/04 01:55 PM
Joined: Dec 2002
Posts: 2,962
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 2,962
I don't know of any way to get multiple words into a window name. It isn't (or if it somehow is, it certainly shouldn't be) supported. You can make it appear to contain several words by using ASCII #160, which is a non-breaking space in many fonts/charsets; I would assume that that is what is used in your @Kill Messages code.


Spelling mistakes, grammatical errors, and stupid comments are intentional.
#103473 21/11/04 04:40 PM
Joined: Jan 2003
Posts: 2,523
Q
Hoopy frood
Offline
Hoopy frood
Q
Joined: Jan 2003
Posts: 2,523
/window @Kill Messages didn't work for me. It works with $chr(160) but in the post you linked you used a normal space(char 32), so I don't know why it worked for you. Btw, to put more than one words in a @window's titlebar you can use the /titlebar command: /titlebar @kill Messages


/.timerQ 1 0 echo /.timerQ 1 0 $timer(Q).com
#103474 22/11/04 07:27 AM
Joined: Mar 2004
Posts: 540
A
Armada Offline OP
Fjord artisan
OP Offline
Fjord artisan
A
Joined: Mar 2004
Posts: 540
Code:
 Alias CKilWin {
  If ($Group(#kill).Status == On) {
    if ( $active != @Kill Messages ) {
      /window -keg1 @Kill Messages
    }
    if ($1) { /echo -i2 @Kill Messages $asctime(10(04HH:nn:ss T10)) $1- }
  }
} 

on ^*:SNOTICE:*** Notice -- Received KILL message for *:{
  if ( $gettok($10,0,46) > 2 ) { /var %oper = $gettok($10,1,46) $+ .* }
  else { /var %oper = $10 }
  if ( $right($8,1) == . ) { /var %killed = $left($8,$calc($len($8) - 1)) }
  else { /var %killed = $8 }
  /.CKilWin 2[K] %oper killed %killed $13-
  /haltdef
}

Thats the exact Code I use for the Kill notice


Link Copied to Clipboard