[Résolu] erreur dans tcl
#3
Je ne vois pas non plus l'erreur mais je reçois l'avertissement lorsque je redémarre le bot et cela me donne ce message dans partyline et l'avertissement ne sort que lorsque je redémarre le bot.

[04:23:25] Tcl error [changeguest]: illegal channel: *
tcl
set helpsguest {
 "Guest*"
}
 
bind nick - * changeguest
proc changeguest {nick uhost hand chan newnick} {
  global botnick helpsguest
if {[matchattr $hand mnofb|mnofb $chan] || [isop $nick $chan] || [isvoice $nick $chan] || [ishalfop $nick $chan] && ($nick != $::botnick)} { return 0 }
  foreach guest $helpsguest {
if {[string match -nocase $guest $newnick]} {
  puthelp "PRIVMSG $chan :Si vous souhaitez utiliser un pseudo, tapez ceci /nick your-nick example /nick ralf et arrêtez d'être un invité."
break ;
}
}
}


Avertir


Messages dans ce sujet
erreur dans tcl - par dino - 23/12/2024, 06:10
RE: erreur dans tcl - par CrazyCat - 26/12/2024, 17:32
RE: erreur dans tcl - par dino - 03/01/2025, 03:35
RE: erreur dans tcl - par CrazyCat - 03/01/2025, 13:58
RE: erreur dans tcl - par dino - 03/01/2025, 22:40

Atteindre :


Utilisateur(s) parcourant ce sujet : 1 visiteur(s)
Tchat 100% gratuit -Discutez en toute liberté Tchatte avec Axelle Tchatte avec ta banquière