Rehash & Restart
#7
djdu32 a écrit :
tcl
bind pub - !restart
proc restart {nick host hand chan arg} {
set ad "#Admin"
global $vhost3
 if {$host eq $vhost3} {
 restart
 putquick "PRIVMSG $ad :$nick à utiliser la commande !restart"
 } else { return 0 }
}


Ton code est bon, mais malheuresement je n'est aucune réaction
et pourtant j'ai le bon code. Je ne comprend pas que l'eggdrop ne réagie pas au code.

tcl
bind pub - !rehash
proc rehash {nick host hand chan arg} {
set ad "#Admin"
 global vhost3
  foreach vhost $vhost3 {
if {$host eq $vhost3} {
reshash
putquick "PRIVMSG $ad :$nick à utiliser la commande !rehash"
} else { return 0 }
}
}



Et pour CrazyCat voila ce qui est de vhost3

set vhost3 {
*@ChefZone.Zet-Land.Com
*@NetAdmin.Zet-Land.Com
*@ChefAdmin.Zet-Land.Com
*@TechAdmin.Zet-Land.Com

}

Oui Heretoc j'ai essayer un simple JOIN mais je n'est aucune réaction quand même :/
Le meuilleur du Web www.zet-land.org
Répondre Avertir


Messages dans ce sujet
Rehash & Restart - par Babytigrou16 - 01/06/2010, 07:04
RE: Rehash & Restart - par Babytigrou16 - 01/06/2010, 07:41
RE: Rehash & Restart - par djdu32 - 01/06/2010, 10:24
RE: Rehash & Restart - par heretoc - 01/06/2010, 11:10
RE: Rehash & Restart - par djdu32 - 01/06/2010, 11:38
RE: Rehash & Restart - par Babytigrou16 - 01/06/2010, 16:50
RE: Rehash & Restart - par CrazyCat - 01/06/2010, 13:09
RE: Rehash & Restart - par CrazyCat - 01/06/2010, 17:06
RE: Rehash & Restart - par Babytigrou16 - 01/06/2010, 18:13
RE: Rehash & Restart - par Marc - 01/06/2010, 18:26
RE: Rehash & Restart - par MenzAgitat - 02/06/2010, 03:33
RE: Rehash & Restart - par Babytigrou16 - 01/06/2010, 18:52
RE: Rehash & Restart - par CrazyCat - 02/06/2010, 09:20
RE: Rehash & Restart - par Marc - 02/06/2010, 15:11

Atteindre :


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