TCL_no_TK wrote:gotcha, then
Code: Select all
proc pub:+mute {nick host handle channel text} {
if {![botisop $channel]} {return 0}
putserv "MODE $channel +m"
foreach t [chanlist $channel] {
if {![isvoice $t $channel] && ![isop $t $channel] && ![ishalfop $t $channel]} {
putserv "MODE $channel +v $t"
}
}; return 1
}
proc pub:-mute {nick host handle channel text} {
if {![botisop $channel]} {return 0}
putserv "MODE $channel -m"
foreach t [chanlist $channel] {
if {[isvoice $t $channel]} {
putserv "MODE $channel -v $t"
}
}; return 1
}
hope its right this time.
Hey thanks i'll test it in the morning
But i have another question, maybe we can solved that in privat
it's something about shoutcast.tcl and the isop function i need added to the setdj part and some other places i have got some other answers to the shoiutcast.tcl from here too, but they did not work as good
sorry to say guess that have helped me quite some times now BIG thanks....
but if you could run it though i will be happy, i'll post it when i see a replay from you
if you decide to take the task
sorry about the language im danish
and the script is for a danish online netstation
im off now but i'll step by here later today
thanks so fare