Détection du host caché
#42
bonsoir,je revient car j'arrive toujours pas à faire en sorte que mon bot kick ban le spam quand il joint le salon.En fait il ne fait aucune action et je n'est aucune erreur en pl Sad

tcl
#-//-//-//-//-//-//-//-//-//-//-//-//-//-//-//-//-#
###--------------Anti-Spam Bot Orange-----------###
#-------------------------DnS---------------------#
# Remerciement à BdS et CrazyCat pour leurs aides  #
#-//-//-//-//-//-//-//-//-//-//-//-//-//-//-//-//-#

#-//-//-//-//-#
#   VersiOn   #
#-//-//-//-//-#
 
set versionb "EpsilOn.tcl"

# Configuration du host,Salon message de kick 
 
set chan "#Nantes"
set spamhost "2531986971.fr"      
set kick(spambot) "\002\[\02Système AntiSpam\002]\2  Anti SpamBot!!!"

#-//-//-//-#
#---Bind---#
#-//-//-//-#
 
bind join - "*" whois:join
bind raw - 328 whois:answ

#-//-//-//-//-#
#  PROCEDURE  #
#-//-//-//-//-#
 
proc whois:join { nick host hand chan } {
putserv "WHOIS $nick $nick"
   return 0
}
 
proc whois:answ {from kw arg} {
  set nick [lindex $arg 1]
  set userhost [lindex $arg 7]
  if { [string first $::spamhost $userhost] != -1} {
  foreach chan [channels] {
   if {[onchan $nick $chan] == 1} {
    putkick $chan $nick $::kick(spambot)
   }
   pushmode $chan +b $userhost
   }
}
  flushmode
}
putlog "$::versionb AntiSpambOt by DnS"



cordialement.
[font=Times New Roman]La différence entre Linux et Windows ,c'est que Linux c'est comme une belle fille , il faut l'apprivoiser , la comprendre , la séduire tandis que Windows , c'est comme une prostitué , il faut payer et surtout bien se protéger.[/font]
Répondre Avertir


Messages dans ce sujet
Détection du host caché - par fedora - 25/01/2009, 17:55
RE: Détection du host caché - par CrazyCat - 25/01/2009, 21:59
RE: Détection du host caché - par fedora - 25/01/2009, 23:57
RE: Détection du host caché - par CrazyCat - 26/01/2009, 16:00
RE: Détection du host caché - par BeussAy - 26/01/2009, 12:33
RE: Détection du host caché - par fedora - 26/01/2009, 17:39
RE: Détection du host caché - par BdS - 26/01/2009, 19:34
RE: Détection du host caché - par fedora - 26/01/2009, 20:08
RE: Détection du host caché - par BdS - 26/01/2009, 23:06
RE: Détection du host caché - par fedora - 26/01/2009, 23:41
RE: Détection du host caché - par BdS - 26/01/2009, 23:51
RE: Détection du host caché - par fedora - 27/01/2009, 01:20
RE: Détection du host caché - par fedora - 28/02/2009, 22:43
RE: Détection du host caché - par fedora - 01/03/2009, 12:04
RE: Détection du host caché - par fedora - 01/03/2009, 13:23
RE: Détection du host caché - par CrazyCat - 01/03/2009, 18:25
RE: Détection du host caché - par fedora - 01/03/2009, 18:27
RE: Détection du host caché - par CrazyCat - 01/03/2009, 18:51
RE: Détection du host caché - par fedora - 01/03/2009, 18:54
RE: Détection du host caché - par CrazyCat - 01/03/2009, 19:06
RE: Détection du host caché - par fedora - 01/03/2009, 19:12
RE: Détection du host caché - par CrazyCat - 01/03/2009, 19:17
RE: Détection du host caché - par fedora - 01/03/2009, 19:20
RE: Détection du host caché - par CrazyCat - 01/03/2009, 19:27
RE: Détection du host caché - par fedora - 01/03/2009, 19:36
RE: Détection du host caché - par fedora - 01/03/2009, 19:42
RE: Détection du host caché - par CrazyCat - 01/03/2009, 21:31
RE: Détection du host caché - par fedora - 01/03/2009, 22:28
RE: Détection du host caché - par CrazyCat - 01/03/2009, 23:14
RE: Détection du host caché - par fedora - 01/03/2009, 23:20
RE: Détection du host caché - par CrazyCat - 01/03/2009, 23:28
RE: Détection du host caché - par fedora - 01/03/2009, 23:35
RE: Détection du host caché - par fedora - 01/03/2009, 23:40
RE: Détection du host caché - par CrazyCat - 02/03/2009, 10:15
RE: Détection du host caché - par fedora - 02/03/2009, 11:45
RE: Détection du host caché - par CrazyCat - 02/03/2009, 13:59
RE: Détection du host caché - par fedora - 02/03/2009, 14:12
RE: Détection du host caché - par CrazyCat - 02/03/2009, 16:48
RE: Détection du host caché - par fedora - 02/03/2009, 22:13
RE: Détection du host caché - par fedora - 04/03/2009, 15:31
RE: Détection du host caché - par CrazyCat - 05/03/2009, 10:02
RE: Détection du host caché - par fedora - 30/03/2009, 23:11
RE: Détection du host caché - par CrazyCat - 31/03/2009, 08:57
RE: Détection du host caché - par bewess - 08/04/2009, 18:01
RE: Détection du host caché - par fedora - 08/04/2009, 18:10
RE: Détection du host caché - par bewess - 08/04/2009, 18:54
RE: Détection du host caché - par fedora - 08/04/2009, 19:11
RE: Détection du host caché - par bewess - 08/04/2009, 19:24
RE: Détection du host caché - par fedora - 08/04/2009, 23:12
RE: Détection du host caché - par Merwin - 09/04/2009, 12:35
RE: Détection du host caché - par CrazyCat - 09/04/2009, 12:54
RE: Détection du host caché - par bewess - 09/04/2009, 14:20
RE: Détection du host caché - par foufou - 27/10/2009, 17:19
RE: Détection du host caché - par fedora - 28/10/2009, 12:45

Atteindre :


Utilisateur(s) parcourant ce sujet : 1 visiteur(s)
Tchat 100% gratuit -Discutez en toute liberté