problème sur un principe de tcl [résolu]
#6
il manque un "{" :

tcl
set nadmin "Orion,systak,test"
bind pub - !xkick kick
proc kick {nick uhost hand chan arg} {
   set n0 [string tolower [lindex $arg 0]]
   set protected [split [string tolower $::nadmin] ","]
   if {[lsearch $protected $n0] == -1} {
      putquick "kick $chan $n0 kicked"
   }
}


Répondre Avertir


Messages dans ce sujet
RE: problème sur un principe de tcl - par heretoc - 13/05/2009, 20:04
RE: problème sur un principe de tcl - par MenzAgitat - 13/05/2009, 20:11

Atteindre :


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