Yeah, the idea is nice, but you could make it simpler for the clients, somehow, for example:
alias -l getbots {
.var %botnicks = Bob,Tom,Sally
.var %n = 0
.var %num = $numtok(%botnicks,44)
:again
while (%n < %num) {
.inc %num
if ($gettok(%botnicks,%num,44) = $1) { return 1 }
.goto again
}
}
And now all you have to do is:
Replace:
if ( ( $nick == <nick1> ) || ( $nick == <nick2> ) ) {
if ( ( $notify(<nick1>).ison == $false ) && ( $notify(<nick2>).ison == $false ) ) {
With:
if ($getbots($nick) = 1) && (!$notify($nick).ison) {
And replace:
if ( ( $nick == <nick1> ) || ( $nick == <nick2> ) ) {
With:
if ($getbots($nick) = 1) {
This makes it user-friendlier and a little bit more professional :)