18/04/2014, 11:52
Salut, ;)
En réfléchissant bien il y'a un truc que je comprend pas ques que ce code la =>
Viens faire dans celui la =>
Je pige pas trop la .... :(
En réfléchissant bien il y'a un truc que je comprend pas ques que ce code la =>
tcl
if {$event=="PRIVMSG"} {
if {$destinataire=="$aurore(nick)"} {
if {$commande=="VERSION"} {
putdcc $aurore(idx) ":$aurore(nick) NOTICE $pseudo :\037\034aurore1.0 Pour le Réseau blabla..\037\0034"
putdcc $aurore(idx) ":$aurore(nick) PRIVMSG $aurore(log) :\0031\[\0034Chan-Log\0031\0031]\0031 \037\00314Commande Version par\037\00314 \037\0034$pseudo\037\0034"
}
}
Viens faire dans celui la =>
tcl
bind pub n "!xvoice" [namespace current]::xvoice
proc xvoice { nick handle uhost chan text } {
variable aurore
putdcc $aurore(idx) ":$aurore(nick) MODE $chan +v $nick"
putdcc $aurore(idx) ":$aurore(nick) NOTICE $nick Bonne Moderation !"
putdcc $aurore(idx) ":$aurore(nick) NOTICE $nick Pour savoir mais commandes de modération tape !modere"
putdcc $aurore(idx) ":$aurore(nick) NOTICE $nick Pence Bien a te devoice quand tu anim plus ! => !xdevoice Merci"
putquick "SAJOIN $nick $aurore(staff)"
}
Je pige pas trop la .... :(