I posted a while about it but it was never solved. The [@last] function works on the scratchpad but it doesn't work on my squiffy, version 5.0 build 5.0.0, Windows 10. Tried it on Chrome as well.... no luck either way. Any solutions?
Sorry for asking: What is tha @last function for? I can't find any documentation....
You'll find it here, the second segment:
http://docs.textadventures.co.uk/squiffy/turncount.html
I should mention that it seems to work to a person with a Mac.
For the record my old topic is here (it was locked due to inactivity) :
https://textadventures.co.uk/forum/squiffy/topic/zham7atfp0scjhak8cdyxq/last-function-only-works-on-the-scratchpad
https://github.com/textadventures/squiffy/pull/63
Looks like someone (possibly) found a fix a while ago.
...or he at least found that @last
is effected by ... something... @deactivate
? (Don't ask me; it's what he said...)
Worth noting that this functionality increases the turn count by one. This seems a reasonable behaviour for this function and without it then @last will not function properly. Should probably be mentioned in any accompanying documentation however.
Just thought of this, too (just use [@3]:
, 3 being the total number of choices in this example):
@title local image in editor
Looking at the detective's desk you can see the following items to examine; a [photograph], a [file] and a [coffee mug].
[photograph]:
Looks like some kind of work celebration. The detective is in the middle of the picture holding a basket of fruit and other officers are toasting him.
[file]:
The file is empty. You notice though that the tab has your brother's name on it!
[coffee mug]:
(It is just a coffee mug.)
[@3]:
You have examined every item.
Thanks K.V., that's a pretty good workaround; how come I didn't think of it?!? I didn't try the "fix" you linked because the workaround is good enough for my needs :) Cheers!
Testing this, ist correct. The last function dont work in Squiffy desktop version on Windows 10. Working to solving this issue.
Thanks!
Anybody with Windows 10 can download the Squiffy 5.1 in the website and try the last function?