[@last] function doesn't work on Windows 10?
Lerik
13 Aug 2017, 18:27I 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?
DaxAtDS9
14 Aug 2017, 11:21Sorry for asking: What is tha @last function for? I can't find any documentation....
Lerik
14 Aug 2017, 16:46You'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
DaxAtDS9
14 Aug 2017, 20:04Lerik is right: @last doesn't work on windows client....
K.V.
15 Aug 2017, 06:04https://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.
K.V.
15 Aug 2017, 06:10This will probably help, as well (although @last
would be much easier):
http://docs.textadventures.co.uk/squiffy/turncount.html
K.V.
15 Aug 2017, 06:13Just 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.
Lerik
17 Aug 2017, 06:21Thanks 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!
K.V.
17 Aug 2017, 08:17No problem! Glad it worked!
Cheers to you, too!
manowar
30 Aug 2017, 18:02Testing this, ist correct. The last function dont work in Squiffy desktop version on Windows 10. Working to solving this issue.
Thanks!
manowar
21 Sept 2017, 18:24Anybody with Windows 10 can download the Squiffy 5.1 in the website and try the last function?
K.V.
21 Sept 2017, 19:31I will, manowar!
K.V.
21 Sept 2017, 20:56It works!
manowar
21 Sept 2017, 21:27Yeah!
Thanks for the reply.