{.set|gk|{.^#doforlistggk|{.member of|.};%user%|{:{.get account|%cur%|notes key=$1.}:}.}.}
{.if|{.and| {. {.substring|0|{.^gk.}.} = 0 .} | {.pos|1|{.^gk.}.}.} | 1 | {.if|{.{.get account|%user%|notes key=$1.}=1.}|1|0.}.}