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 03:59]
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:File status is... TEMP1
- 
 wait:3 wait:3
- +if:('TEMP1'==''​) 
-if:​(TEMP1==''​) +  show:​Welcome SNAME this is your FIRST time trying this task
-show:​Welcome SNAME this is your FIRST time trying this task.+fi: 
 +if:​('​TEMP1'​=='​repeater'​) 
 +  show: Welcome back SNAME you have tried this task before.
 fi: fi:
- 
-if:​(TEMP1=='​repeater'​) 
-show: Welcome back SNAME you have tried this task before. 
-fi:  
- 
 wait:3 wait:3
- 
 show:Please select what to do with the save file from below. show:Please select what to do with the save file from below.
 choice:​Empty,​Register choice:​Empty,​Register
- 
 wait:1 wait:1
- 
 if:​(LASTASK==1) if:​(LASTASK==1)
-settemp1:''​+  ​settemp1:''​
 fi: fi:
- 
 if:​(LASTASK==2) if:​(LASTASK==2)
-settemp1:'​repeater'​+  ​settemp1:'​repeater'​
 fi: fi:
- 
 show: Outcome is saved as TEMP1, we are done here SNAME. show: Outcome is saved as TEMP1, we are done here SNAME.
- +button:​Thank you DTITLE
-button:​Thank you Mistress. +
 savetemp1:​continuity savetemp1:​continuity
- +;
 </​code>​ </​code>​
tasks/continuity.1491969544.txt.gz · Last modified: 2017/04/12 03:59 by chissoku