I think he means that both the #c 's have different causes.
The first #c is the npc chat, and the second is the player chat
so maybe it would need to be:
if (initialized||timeout) {
with (getplayer(#s(this.buddy))) setplayerprop #c(-1),#c(0);
timeout=0.1;
}