code tcl a la connexion d'un user
#5
Bonsoir

Merci beaucoup de ton aide et de ta réponse Smile

Judge et venu sur irc et on a réglé le code que j'avais trouvé sur se forum on la une peut modifier et sa fonctionne.

Code :
bind raw - NOTICE connection:notice

proc connection:notice {from key arg} {
global botnick notc mod
set text [split $arg]
if {[join [lrange $text 2 5]] == "Notice -- Client connecting"} {
set nick [lindex $text 9]
putquick "PRIVMSG $nick :Message"
}
}


ArKeNiS a écrit :Salut,

Si j'ai bien compris ton message :
tcl
bind raw - "NOTICE" msg_pv
proc msg_pv {from key arg} {
  set type [lrange $arg 4 5]
  set pseudo [lindex $arg 9]
	if {$type == "Client connecting"} {
		putquick "PRIVMSG $psuedo :TON MESSGE"
	}
}



Cordialement,

Cordialement Stéphane
hésitez pas de visité http://www.tchat-fusion.org/
ou part irc /server -m irc.tchat-fusion.org
Répondre Avertir


Messages dans ce sujet
code tcl a la connexion d'un user - par snip74 - 31/10/2011, 18:02
RE: code tcl a la connexion d'un user - par snip74 - 02/11/2011, 00:59

Atteindre :


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