alias notifyl { if ($1 = onlines) { scon $scon($activecid) var %x 1 while ($notify(%x)) { if ($notify(%x).ison) && ($notify(%x).note = $network) echo -a $notify(%x) on $network inc %x } } if ($1 = add) && ($2) && ($3) notify $2 $3 }