voice.tcl
#1
Bonjour,

alors j'ai trouver un code qui permet de voice automatiquement les personne qui arrivent sur mon salon.

se que j'aimerais ajouter à se code c'est une liste de pseudo qui ne seront pas voice.

voila le code:

tcl
## allvoice.tcl
##  - voices everyone in a channel when they join

 
# What channels should this work on?
#  - note, "" is for all channels
set avchan "#Mon-Salon"

## Begin the code
 
bind join - * avjoin
 
proc avjoin {nick uhost hand chan} {
 global avchan botnick
 if {$nick == $botnick} {return 0}
 if {$avchan == "" && [botisop $chan]} {
  pushmode $chan +v $nick
  return 0
 }
 set chan [string tolower $chan]
 foreach i [string tolower $avchan] {
  if {$i == $chan && [botisop $chan]} {
   pushmode $chan +v $nick
   return 0
  }
 }
}



Merci d'avance pour votre aide future.

Cordialement.
Répondre Avertir


Messages dans ce sujet
voice.tcl - par Alucard`68 - 14/03/2012, 13:16
RE: voice.tcl - par CrazyCat - 14/03/2012, 15:00
RE: voice.tcl - par Alucard`68 - 14/03/2012, 15:19
RE: voice.tcl - par CrazyCat - 14/03/2012, 16:31
RE: voice.tcl - par Alucard`68 - 14/03/2012, 17:22

Atteindre :


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