# Client Timer Script not behaving the way I'd expect

**URL:** <https://forum.inductiveautomation.com/t/client-timer-script-not-behaving-the-way-id-expect/70689>\
**Category:** Ignition\
**Tags:** vision, scripting, ignition80\
**Created:** [March 6, 2023, 6:15pm UTC](https://forum.inductiveautomation.com/t/client-timer-script-not-behaving-the-way-id-expect/70689 "2023-03-06T18:15:08Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![SOPerator](https://avatars.discourse-cdn.com/v4/letter/s/838e76/32.png) [@SOPerator](https://forum.inductiveautomation.com/u/SOPerator)\
**Post date:** [March 6, 2023, 6:15pm UTC](https://forum.inductiveautomation.com/t/client-timer-script-not-behaving-the-way-id-expect/70689/1 "2023-03-06T18:15:08Z")

</div>

Hello, I'm debugging a client timer script with the following code:

```auto
systen.gui.messageBox("Test")

```

The timer is set to every 5 seconds, but for some reason, I am never seeing the messageBox prompt come up. I've ensured that the script is enabled, are there limitations to what the client script can access? The endgame for the script is to be able to read from and write to tags, as well as swap windows. What am I missing?

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [March 6, 2023, 6:33pm UTC](https://forum.inductiveautomation.com/t/client-timer-script-not-behaving-the-way-id-expect/70689/2 "2023-03-06T18:33:06Z")

</div>

Does your script actually include the typo ("systen" vs "system")?

---

<div class="post-metadata">

**Author:** ![SOPerator](https://avatars.discourse-cdn.com/v4/letter/s/838e76/32.png) [@SOPerator](https://forum.inductiveautomation.com/u/SOPerator)\
**Post date:** [March 6, 2023, 6:46pm UTC](https://forum.inductiveautomation.com/t/client-timer-script-not-behaving-the-way-id-expect/70689/3 "2023-03-06T18:46:51Z")

</div>

Ugh, I'm ashamed to say yes...  
Thank you, and I'm sorry.

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [March 6, 2023, 7:01pm UTC](https://forum.inductiveautomation.com/t/client-timer-script-not-behaving-the-way-id-expect/70689/4 "2023-03-06T19:01:08Z")

</div>

No problem, easy solve.

---

<div class="post-metadata">

**Author:** ![amarks](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/amarks/32/45610_2.png) [@amarks](https://forum.inductiveautomation.com/u/amarks)\
**Post date:** [March 6, 2023, 7:49pm UTC](https://forum.inductiveautomation.com/t/client-timer-script-not-behaving-the-way-id-expect/70689/5 "2023-03-06T19:49:32Z")

</div>

It would be nice to be able to call gateway and client scripts defined in this one from the script console so they can be tested for bugs.
