### PROCS
proc insulta {nick host hand chan arg} {
global insulti botnick owner
if {[isop $nick $chan]==0} {
putserv "NOTICE $nick :Questo comando è accessibile solo agli op del canale!"
putserv "PRIVMSG $chan :$nick, you're lame!"
} else
this is aviable only for op ...i want that it is aviable for op and voice
sorry...but my english not very good
helpme thanks
eklissi wrote:### PROCS
proc insulta {nick host hand chan arg} {
global insulti botnick owner
if {[isop $nick $chan]==0} {
putserv "NOTICE $nick :Questo comando è accessibile solo agli op del canale!"
putserv "PRIVMSG $chan :$nick, you're lame!"
} else
this is aviable only for op ...i want that it is aviable for op and voice
sorry...but my english not very good
helpme thanks
change
if {[isop $nick $chan]==0} {
to
if {(![isop $nick $chan]) || if {![isvoice $nick $chan]} {