j'ai tester le code et il fonctionne
en faite j'ai juste modifier
par
n'oublie pas de rehash ou restart ton bot
cordialement
Citation :|17:49:05| fedora: !test
|17:49:17| @bOten: fedora ceci est un test après 10secondes
tcl
set SalonAide "#aide"
bind pub - !test test_utimer
proc test_utimer { nick host hand chan arg } {
global botnick
if {$arg == ""} {
utimer 10 [list TimerMsg $chan $nick]
return 0
}
}
proc TimerMsg {chan nick} {
if {![botisop $chan]} { return 0 }
if {[onchan $nick $chan] && ![isvoice $nick $chan] && ![isop $nick $chan]} {
putserv "privmsg $::SalonAide : $nick ceci est un test après 10secondes"
}
return 0
}
en faite j'ai juste modifier
tcl
if {$arg != ""} {
par
tcl
if {$arg == ""} {
n'oublie pas de rehash ou restart ton bot
cordialement
[font=Times New Roman]La différence entre Linux et Windows ,c'est que Linux c'est comme une belle fille , il faut l'apprivoiser , la comprendre , la séduire tandis que Windows , c'est comme une prostitué , il faut payer et surtout bien se protéger.[/font]