rendered paste body#####################################################################
bind pub -|- .rehash pub:rehash
proc pub:rehash {nick uhost hand channel arg} {
global rehash botnick
if {$nick == "Verite" || $nick == "Erreur32" } {
rehash
putserv "PRIVMSG $channel :$nick : Rehash effectué."}
if {$nick != "Verite" && $nick !="Ereur32" } {
putserv "PRIVMSG $channel :$nick : Désolé mais seul Verite à le droit d'utiliser cette commande."}
return 1
}
## Restart ##########################################
#####################################################################
bind pub -|- .restart pub:restart
proc pub:restart {nick uhost hand channel arg} {
global restart botnick
if {$nick == "Verite"} {
putquick "PRIVMSG $channel :$nick : Oki je redemarre."
restart}
if {$nick != "Verite"} {
putserv "PRIVMSG $channel :Désolé $nick mais seul Verite à le droit d'utiliser cette commande"}
return 1
}