egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

mrc a tcl

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Requests
View previous topic :: View next topic  
Author Message
Niki
Voice


Joined: 21 Apr 2018
Posts: 1

PostPosted: Mon Jul 08, 2019 6:14 am    Post subject: mrc a tcl Reply with quote

Can you please help me in converting this .mrc into .tcl
this .mrc makes me publish in #chan nick entered with the nick
sorry for the English
Thank you

Code:
ON *:START: {
  hmake trackusers 10
  if ($isfile(trackusers.dat)) {
    hload trackusers trackusers.dat
  }
}
on *:JOIN:#: {
  if ($hget(trackusers,$address($nick,3))) {
    var %n = $ifmatch
    if ($istok(%n,$nick,32)) { var %d = $deltok(%n,$findtok(%n,$nick,1,32),32) }
    else { var %d = %n }
    if (!%d) { return }
    echo $colour(info) #Nicks  $chan * $nick 14 entro antes con el nick 4 $+ $iif($numtok(%d,32) > 1,:,:) %d 
    if (!$istok(%n,$nick,32)) {
      hadd trackusers $address($nick,3) %n $nick
    }
  }
  else {
    hadd trackusers $address($nick,3) $nick
  }
}
on *:NICK: {
  if ($hget(trackusers,$address($newnick,3))) {
    var %n = $ifmatch
    if (!$istok(%n,$newnick,32)) {
      hadd trackusers $address($newnick,3) %n $newnick
    }
  }
  else {
    hadd trackusers $address($nick,3) $newnick
  }
}
menu nicklist {
  TOPSECRET
  .Buscar otros NICKS :{
    if (!$address($$1,3)) { echo $colour(info) -ti2 # *4 IAL not updated for $$1 $+ , performing userhost lookup | userhost $$1 | return }
    if ($hget(trackusers,$address($$1,3))) {
      var %n = $ifmatch
      if ($istok(%n,$$1,32)) { var %d = $deltok(%n,$findtok(%n,$$1,1,32),32) }
      else { var %d = %n }
      if (!%d) { goto notknown }
      echo  $colour(info) -ti2 # * $$1 14 tambien usa los nicks 4 $+ $iif($numtok(%d,32) > 1,:,:) %d 
    }
    else {
      :notknown
      echo $colour(info) -ti2 # *  $$1 4NO tiene ningun nick en la base de datos.
    }
  }
  .Reset:hdel trackusers $address($$1,3)
}
ON *:EXIT: {
  if ($hget(trackusers)) { hsave -o trackusers trackusers.dat }



Niki Sad Confused
Back to top
View user's profile Send private message
Cadaver
Voice


Joined: 04 Dec 2018
Posts: 17
Location: México

PostPosted: Tue Jul 23, 2019 3:41 pm    Post subject: Reply with quote

Install AKA Nick Tracker

http://hawkee.com/snippet/9856/
_________________
-- [ Soluciones Hosting ] -- [ ElChatIRC ] --
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Requests All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber