Hallo janbuk63,
Du musst halt den Schalter wieder umlegen, wenn Du ihn ausgeschaltet hast ;-)
Bei meinem Bsp. z.B.
sagen wir nach 100 Ticks
in
OnTick() {
ticks++;
if (ticks==100) noNotification=false;
}
klar müsstest Du dann "ticks" rücksetzten wenn Du den Schalter wieder umlegst. Also
if (!noNotification && orderModified) { SendNotification ("Ich will gesendet werden.");
noNotification=true;
ticks=0;
}
|