Jump to content
chain

Clonelists

Recommended Posts

  • Administrators
on *:LOAD:{ set %cloneonoff $=cld On 
}

on *:UNLOAD:{ set %cloneonoff $=cld Off 
} 


on *:join:*:{ if ($nick == $me) /halt
  if (!$read(Lists/clonelist.txt,w,* $+ $address($nick,1) $+ *)) {
    write Lists/clonelist.txt $address($nick,1) $nick
    /echo $chan 1,7 [New Visitor - $nick ]
  }
  else {
    if ($read(Lists/clonelist.txt,s, $address($nick,1)) != $nick) {
      /echo $chan 1,7 [Clone Detected. $nick is $ifmatch ] 
      write -l $+ $readn Lists/clonelist.txt $address($nick,1) $nick
    }
    else {
      /echo $chan 1,7 [Return Visitor - $nick ] 
    }
  }
}

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...


×
×
  • Create New...