User Tools

Site Tools


tasks:continuity

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
tasks:continuity [2017/04/12 02:33]
chissoku
tasks:continuity [2019/08/29 17:55] (current)
Line 1: Line 1:
 <​code>​ <​code>​
-Title:Continuity+Title:Snippet Save user state between tasks
 Sex: Female T Male T Trans T Sex: Female T Male T Trans T
-Require:  +Require: 
-Limits: ​ +Limits:
 ;* Save task outcome and load for next time the task is run * ;* Save task outcome and load for next time the task is run *
 +;* this is meant as a proof of concept that other can use, it is not a separate task*
 ;* beginning * ;* beginning *
- 
 loadtemp1:​continuity loadtemp1:​continuity
- +show:File status is... TEMP1
-show:savefile ​status is TEMP1+
 wait:3 wait:3
- +if:('TEMP1'==''​
-if:(TEMP1==null+  show:​Welcome SNAME this is your FIRST time trying this task.
-show: Welcome SNAME this is your first time trying this task. +
-button: Thank you Mistress+
 fi: fi:
- +if:('TEMP1'=='repeater'
-if:​(TEMP1==repeater) +  show: Welcome back SNAME you have tried this task before.
-show: Welcome back SNAME you have tried this task before. +
-button: Thank you Mistress+
 fi: fi:
- +wait:3 
-show:Pleas select ​task outcome ​from below. +show:Please ​select ​what to do with the save file from below. 
-Choice:​Empty ​the savefile,​Register ​that you have tried this task +choice:​Empty,​Register 
-wait:+wait:1
 if:​(LASTASK==1) if:​(LASTASK==1)
-settemp1: +  ​settemp1:''​
-savetemp1:​continuity+
 fi: fi:
- 
 if:​(LASTASK==2) if:​(LASTASK==2)
-settemp1:​repeater +  ​settemp1:'repeater'
-savetemp1:​continuity+
 fi: fi:
- +show: Outcome is saved as TEMP1, we are done here SNAME. 
-show: Outcome is saved, we are done here SNAME. +button:​Thank you DTITLE 
-button: Thank you Mistress. +savetemp1:​continuity 
 +;
 </​code>​ </​code>​
tasks/continuity.1491964404.txt.gz · Last modified: 2017/04/12 02:33 by chissoku