mIRC Home    About    Download    Register    News    Help

Print Thread
#198710 03/05/08 08:52 AM
Joined: Dec 2006
Posts: 39
S
Ameglian cow
OP Offline
Ameglian cow
S
Joined: Dec 2006
Posts: 39
Im currently use this codes

Code:
on ^!@*:text:*:#: { if ($nick isreg #) { .signal -n c # $nick $1- | halt } }
on *:signal:*: {
  if ($signal == c) { 
    .hinc -u5m e $+($1,$2) 1 
    if ($hget(e,$+($1,$2)) > 4) .signal -n d $1-2 lines
    var %f = $+($2,@,$1,@,$hash($remove($3-,$chr(160),$chr(32)),32))
    hinc -u5m e %f 1 
    if ($hget(e,%f) > 2) .signal -n d $1-2 repeat
  }
  if ($signal == d) { 
    !kick $1 $2 $3
  }
}


I need some help to change the codes detect repeat and row from his ident .. i mean after they change their nick still can detected .. example

<abc> repeat
<abc> repeat
* abc changed nick to abcde
<abcde) repeat
* me kicked abcde (repeat)

..

i want its works on row to .. thanks

Joined: Aug 2005
Posts: 1,052
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Aug 2005
Posts: 1,052
I would replace the ITEM data in the hash table when nick becomes newnick via on nick change

on *:nick:{ replace item in hash table with $newnick }


Code:
if $reality > $fiction { set %sanity Sane }
Else { echo -a *voices* }

Link Copied to Clipboard