Code: Select all
if { !( $q_clan(v) && !( isvoice $nick $chan)) || !( $q_clan(o) && !(isop $nick $chan)) } {
return 0
}
$q_clan(v) is 1 or 0
$q_clan(o) is 1 or 0
they are if check voices or ops
and if nick is not op or voice then return 0
Code: Select all
if { !( $q_clan(v) && !( isvoice $nick $chan)) || !( $q_clan(o) && !(isop $nick $chan)) } {
return 0
}
Code: Select all
if { !( $q_clan(v) && !( isvoice $nick $chan)) || !( $q_clan(o) && !(isop $nick $chan)) } {
return 0
}
Code: Select all
if { !$q_clan(v) && ![isvoice $nick $chan] || !$q_clan(o) && ![isop $nick $chan] } { return 0 }