mIRC Home    About    Download    Register    News    Help

Print Thread
#193489 19/01/08 10:17 PM
Joined: Oct 2007
Posts: 36
A
asmodeo Offline OP
Ameglian cow
OP Offline
Ameglian cow
A
Joined: Oct 2007
Posts: 36
hi all!
I´d like to chage the message kick default for other like this:

$timestamp 12*024 $knick 2was kicked by $nick 6( $+ $1- $+ 6)

I´d tried with this event, but doesn´t work good:
on *:kick:#: echo $chan $timestamp 12*024 $knick 2was kicked by $nick 6( $+ $1- $+ 6) | halt

Any idea?
Is possible to do?

Thanks very much
good day for all :-)

:Sorry, but my english isn´t very good :P

Last edited by asmodeo; 19/01/08 10:17 PM.

·´¯`·.¸¸“Jã¢k øf ãll ‡rãÐ꧅„…Mã§têR øf Nønꔸ¸.·´¯`·
asmodeo #193490 19/01/08 10:38 PM
Joined: Dec 2002
Posts: 2,031
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Dec 2002
Posts: 2,031

You need the ^ prefix with the /haltdef command, try...

Code:

on ^*:KICK:#: {
  echo $chan $timestamp 12*024 $knick 2was kicked by $nick 6( $+ $1- $+ 6)
  haltdef
}



RoCk #193491 19/01/08 11:03 PM
Joined: Oct 2007
Posts: 36
A
asmodeo Offline OP
Ameglian cow
OP Offline
Ameglian cow
A
Joined: Oct 2007
Posts: 36
Hi RoCk!

Code works perfect! Thanks very much.

And other question is possible?

I´d like to do the same but with nickchange message, and there code doesn´t work good with this event:

on ^*:NICK: {
echo $chan $timestamp 12*2 $nick is now 12 $newnick
haltdef
}
any idea?

Thanks again RoCk smile

Last edited by asmodeo; 19/01/08 11:03 PM.

·´¯`·.¸¸“Jã¢k øf ãll ‡rãÐ꧅„…Mã§têR øf Nønꔸ¸.·´¯`·
asmodeo #193492 19/01/08 11:05 PM
Joined: Sep 2005
Posts: 2,881
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Sep 2005
Posts: 2,881
Code:
on ^*:NICK:{
  var %i = 1
  while ($comchan($nick,%i)) {
    echo $v1 $timestamp 12*2 $nick is now 12 $newnick
    inc %i
  }
  haltdef
}

hixxy #193493 19/01/08 11:41 PM
Joined: Jan 2004
Posts: 509
L
Fjord artisan
Offline
Fjord artisan
L
Joined: Jan 2004
Posts: 509
Out of curiosity, writing an on ^ nick and such just to add color, actually slows down your mIRC doesn't it? Better to use the Alt K colors for nick.

The only thing is, you can't ctrl c or highlight the colors when pasting logs. But I could live with that.

Joined: Sep 2005
Posts: 2,881
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Sep 2005
Posts: 2,881
It does, but this changes the text as well as the colour.


Link Copied to Clipboard