mIRC Home    About    Download    Register    News    Help

Print Thread
#147090 14/04/06 04:36 AM
Joined: Mar 2006
Posts: 11
K
kein Offline OP
Pikka bird
OP Offline
Pikka bird
K
Joined: Mar 2006
Posts: 11
Code:
  

ctcp @!*:*:#: { if ($nick isreg #) { .signal -n a # $nick | haltdef } } 
on *:signal:*: { 
  if ($signal == a) { signal -n d $gettok($1-,1-2,32) ctcp } 
  if ($signal == d) { 
    if ($gettok($1-,2,32) ison $gettok($1-,1,32)) { 
      .hinc -u3m d y 
      ;if ($hget(d,y) > 19) { 
      .inc -u2 %dy 
      if (%dy < 22) { !.quote -qmcH kick $gettok($1-,1-2,32) $3 %logo } 
      .hadd -u2m o $+($2,*@*banned*)
    .timer_ 1 3 !mode $chan $1 $+(+,$str(b,$hget(o,*).item)) $hget(o,1).item $hget(o,2).item $hget(o,3).item $hget(o,4).item $hget(o,5).item $hget(o,6).item $hget(o,7).item $hget(o,8).item $hget(o,9).item $hget(o,10).item $hget(o,11).item $hget(o,12).item } 
  } 
}



After i kick someone i got this at msg
* signal 'd' (#test Nicknick ctcp)

How to remove that msg? Thanks

Joined: Aug 2004
Posts: 7,252
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
Try changing your on signal event from
Code:
 on *:signal:*: { 
to
Code:
 on ^*:signal:*: { 

Joined: Sep 2003
Posts: 4,230
D
Hoopy frood
Offline
Hoopy frood
D
Joined: Sep 2003
Posts: 4,230
assuming everything else is right (which i havent really looked at)
then just change signal -n d $gettok($1-,1-2,32) ctcp to .signal -n d $gettok($1-,1-2,32) ctcp

Joined: Mar 2006
Posts: 11
K
kein Offline OP
Pikka bird
OP Offline
Pikka bird
K
Joined: Mar 2006
Posts: 11
RusselB I noticed that after I change that, it doesnt kick. DaveC its works! .. Thanks both of you.


Link Copied to Clipboard