timer ban
#6
tcl
bind pub - !tbm pub:!tbm
 
proc pub:!tbm {nick uhost hand chan text} {
if {!([isop $nick $chan] || [ishalfop $nick $chan])} return
if {![onchan [set target [lindex [set splitText [split $text]] 0]] $chan] || ![string is digit [set duration [lindex $splitText 1]]] || $duration eq ""} return
foreach mode {q a o h v} { pushmode $chan -$mode $target }
newchanban $chan ~q:*!*@[lindex [split [getchanhost $target] @] 1] $nick osef $duration sticky
putquick "PRIVMSG #erep.moderation :\002$nick\002 a décidé de retiré la parole a \002$target\002"
return 1 }
 
putlog "\002TBM By Artix & Marc\002 v4.0.5 - Chargé"




Voila la nouvelle version,
Encore un soucis... Il affiche le message sur #erep.moderation mais il ne ban pas sur le canal comme demander !?
Que faire ? :/[/align]
Répondre Avertir


Messages dans ce sujet
timer ban - par Marc - 19/12/2009, 01:39
RE: timer ban - par Marc - 19/12/2009, 09:23
RE: timer ban - par CrazyCat - 19/12/2009, 22:38
RE: timer ban - par Marc - 20/12/2009, 07:21
RE: timer ban - par CrazyCat - 20/12/2009, 12:40
RE: timer ban - par Marc - 20/12/2009, 19:03
RE: timer ban - par CrazyCat - 20/12/2009, 23:01
RE: timer ban - par Marc - 21/12/2009, 07:56
RE: timer ban - par Marc - 21/12/2009, 08:55
RE: timer ban - par CrazyCat - 22/12/2009, 12:10

Atteindre :


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