mIRC Home    About    Download    Register    News    Help

Print Thread
#6780 16/01/03 01:31 AM
Joined: Jan 2003
Posts: 2
D
dlanod Offline OP
Bowl of petunias
OP Offline
Bowl of petunias
D
Joined: Jan 2003
Posts: 2
It seems that at some point, the way events (such as a user joining/leaving a channel, mode changes and so on) are logged/displayed was changed from "*** nick ..." to "* nick ...". Is there anyway to change this back?

#6781 16/01/03 03:26 AM
Joined: Dec 2002
Posts: 1,321
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Dec 2002
Posts: 1,321
Well... one way would be to rescript the way they show up and halt the default text. /help halting default text


DALnet: #HelpDesk and #m[color:#FF0000]IR[color:#EEEE00]C
#6782 16/01/03 11:23 AM
Joined: Jan 2003
Posts: 2
D
dlanod Offline OP
Bowl of petunias
OP Offline
Bowl of petunias
D
Joined: Jan 2003
Posts: 2
Thanks for that. Next question: How do I get [$time] and/or ($address) to display as expected? ie. [23:15:12] and (ident@host).

#6783 16/01/03 01:24 PM
Joined: Dec 2002
Posts: 2,985
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 2,985
Code:
ON ^*:JOIN:#: {
  if ($nick != $me) {
    echo $colour(join) -t # $nick has entered # -- $nick(#,0) users -- $address
  }
  haltdef
}
ON ^*:PART:#: {
  if ($nick != $me) {
    echo $colour(part) -t # $nick has left # -- $calc($nick(#,0)-1) users -- $address
  }
  haltdef
}
-t is to enable the timestamp for the event and $address looks after the address for you. $nick(#,0) gives you a user count.


Link Copied to Clipboard