Instead of using public use static; that should keep your variable the same value in all instances of the script.
↧
Answer by PeterDC
↧
Instead of using public use static; that should keep your variable the same value in all instances of the script.