$isban(nick/address)
*i posted this on swiftirc forums also if you were wondering - thought id share it here also
note that this is not "if (- isban #) { }"
alias isban {
var %tt = 1
while ($ibl($chan,%tt)) {
if ($1 == $v1) {
return $true
halt
}
else inc %tt
}
return $false
}