21/11/2009, 09:47
bonjour,
peut etre un truc dans ce genre là:
Ceci n'est qu'un Exemple donc à Testé
Cordialement
peut etre un truc dans ce genre là:
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
}
Ceci n'est qu'un Exemple donc à Testé
Cordialement