The tutorial on turn scripts has you put "turn" in some places and "turns" in others, which breaks the turn counter and causes error messages when playing the game. I was tearing my hair out until I dug through the forums and found the thread below, which contains the fix: change it to "turns" everywhere. The thread is from 2018 and the tutorial is still wrong in 2022! Frustrating newbies by providing non-working examples in the tutorials is likely to drive many people away from the platform altogether. It will certainly make them hesitate about investing more time in learning Quest. Please fix this to save other newbies from the same aggravation.
Tutorial URL:
http://docs.textadventures.co.uk/quest/tutorial/using_timers_and_turn_scripts.html
Forum Thread URL:
https://textadventures.co.uk/forum/quest/topic/1ayifwnl6kg5y8m7ts8cvw/arithmeticelement-operation-add-is-not-defined-for-types-object-and-int32