[@last] function only works on the ScratchPad
Lerik
26 Feb 2017, 18:08I copy-pasted the [@last] function example script: doesn't work on the Squiffy program nor when I export as html/java
http://docs.textadventures.co.uk/squiffy/turncount.html
It only works on ScratchPad.
Any chance for a fix on this? For the record I'm running on the latest version of Squiffy: 5.0
![](https://i.imgur.com/mpaalk0b.jpg)
manowar
26 Feb 2017, 19:18I tryed in Squiffy editor and Build the example and works fine. What versiĆ³n of Squiffy do you use? Editor or console?
Lerik
26 Feb 2017, 21:34Editor. Version 5.
Made a video: https://www.youtube.com/watch?v=7ery2ujzyCU&feature=youtu.be
thetruespin
27 Feb 2017, 05:45I tested this too. It doesn't activate when using run. V5
Lerik
27 Feb 2017, 09:50It also doesn't work when I "Build" the example and run the html. I won't make another video to prove it; just trust me here, it doesn't work.
thetruespin
27 Feb 2017, 20:33I tested this again, but built the code and Lerik is right, it doesn't trigger. Never noticed this before (although never used it).
![](https://i.imgur.com/mpaalk0b.jpg)
manowar
27 Feb 2017, 22:51In my machine runs well. Watch the video: http://www.papadasoft.com/a.mp4
What is your OS?
Can you see any error en console error (F12)?
Guy9
01 Mar 2017, 16:27Just tried it now and working OK :-)
However, 'turn counting' used to never work on a built web page but was OK in the Scratchpad. OS Mac OS X 10.9.5 and Safari. Sorted by a recent update I guess.