Skip to content
General IRCd

Nick Change Dedector Problem

A TG007 community discussion started by Rashed.

Discussion 8 posts
Page 1 of 1
Open
Topic #16252 · 8 published posts · 1,987 views
This code not working ,, whats the problem?!



#nicktracker on

on *:JOIN:#: exoclonecheck $nick $address $chan

raw knock:*: exoclonecheck $nick $address $1


alias exoclonecheck {

if ($1 != $me) {

;If you want it to store more or less nicknames,

;change this number below to the number you want to store.

var %n 4


var %x $read($scriptdir $+ exoclonecheck.txt,sn,$2)

if (%x == $null) write $+(",$scriptdir,exoclonecheck.txt") $2 $1

else {

%x = $addtok(%x,$1,32)

if ($numtok(%x,32) > %n) %x = $deltok(%x,1,32)

write -l $+ $readn $+(",$scriptdir,exoclonecheck.txt") $2 %x

}

if ($numtok(%x,32) > 1) msg # S \rTahoma;0 $5 $+ ( $+ $ecc.decode $1 $+ ) Last $+ $numtok(%x,32) Nicks Used :-( $+ $replace(%x,$chr(32),$chr(44) $+ $chr(32))) $+ )-

elseif ((%x != $1) && (%x)) msg # S \rTahoma;0 $ecc.decode($1 $+ 's last name: %x)

}

}


alias ecc.decode {

if ($msn.vver) return $Buzz.ifdecode($1-)

else return $1-

}

#nicktracker end


You can try my nicklogger. I made it specifically for Buzzen

 

Turn it off and on in channel menu per room

nicklogger.txt

Get information about ircWx here

Attachments 1 file

I load it and didn't appear in menue channel

it's right at the top of the code

menu channel {
  Nick History
  .$iif($istok(%nickhistorychannels,$chan,44),$style(1)) Log $chan : {
    $iif($istok(%nickhistorychannels,$chan,44),set %nickhistorychannels $remtok(%nickhistorychannels,$chan,1,44),set %nickhistorychannels $addtok(%nickhistorychannels,$chan,44))
  }
  .-
  .Log Room : lognicks $chan
}

so if it's not working there must be some issue in your script preventing it

Get information about ircWx here

like what?

could be a bracket mismatch in a previous file. any errors showing in status window?

Get information about ircWx here

ok it works now

if i want it to be a message in chat not eco that would be

 

echo $chan [Nick Change] ---------------------------------------------------------------------------------------
msg $chan $+ $nick has made a nick change. Previous $iif($gettok($gettok($read(%r,$readn),2,32),2,44),nicks have been,nick was) $sorttok($gettok($read(%r,$readn),2,32),44,c)
echo $chan -----------------------------------------------------------------------------------------------------
}
Right?

correct. u can remove the echo ------------------------------ stuff if u wish.. that is just for decoration

Get information about ircWx here