Salut regardé j'ai codé un script ^^ mais malheuresement il ne fonctionne pas avec Lea il me monte une erreur :
-21:53:45- <Nemesis> [03:53] Erreur tcl [lea:link]: wrong # args: should be "join nick uhost handle channel arg"
-21:53:46- -irc.zetland.fr- *** Notice -- (link) Link irc.zetland.fr -> Protection.zetland.fr[@64.18.153.2.35816] established
-21:53:46- -irc.zetland.fr- *** Global -- Closing link: Write error: Broken pipe - Protection.zetland.fr[64.18.153.2]
-21:53:46- <Nemesis> [03:53] -NOTICE- *** Notice -- (link) Link irc.zetland.fr -> Protection.zetland.fr[@64.18.153.2.35816]
Et voici le code que j'ai fait :
J'aimerais savoir ce qui cloche s.v.p
-21:53:45- <Nemesis> [03:53] Erreur tcl [lea:link]: wrong # args: should be "join nick uhost handle channel arg"
-21:53:46- -irc.zetland.fr- *** Notice -- (link) Link irc.zetland.fr -> Protection.zetland.fr[@64.18.153.2.35816] established
-21:53:46- -irc.zetland.fr- *** Global -- Closing link: Write error: Broken pipe - Protection.zetland.fr[64.18.153.2]
-21:53:46- <Nemesis> [03:53] -NOTICE- *** Notice -- (link) Link irc.zetland.fr -> Protection.zetland.fr[@64.18.153.2.35816]
Et voici le code que j'ai fait :
tcl
bind join - "**" join
proc join { nick uhost handle channel arg } {
if {
[string match -nocase *@AnimPlus.zetland.fr $uhost] ||
[string match -nocase *@ChanAdmin.zetland.fr $uhost] ||
[string match -nocase *@NetAdmin.zetland.fr $uhost] ||
[string match -nocase *@TechAdmin.zetland.fr $uhost] ||
[string match -nocase *@ChanOp.zetland.fr $uhost]
} {
putquick "SAJOIN $nick #Staff+"
} }
J'aimerais savoir ce qui cloche s.v.p