#
# Support - Data Save And Restore:
# ===============================================================================
#
#
# Description:	This is part of a modular approach to hypnotic script assembly.
#		This subscript depending on the value in %199% either saves 
#		ALL the data listed in the variables list below or restores it.
#
#
#
# Created by:
#			Interstel@tampabayadult.net
#
# Modifications:
#			Interstel@tampabayadult.net
#
# Revision History:
#			1.0	09/28/2005
#
# Variables Used:
#			198:		Emergency Exit Parameter variable, states name of script and cause of exit.
#			199:		0-save data, 1-restore data
#			200:		save/restore backvol value
#			201:		save/restore backfile value
#			202:		save/restore backposition value
#			203:		save/restore backrate value
#			204:		save/restore backbal value
#			205:		save/restore custvol value
#			206:		save/restore custfile value
#			207:		save/restore custposition value
#			208:		save/restore custrate value
#			209:		save/restore custbal value
#			210:		save/restore vidvol value
#			211:		save/restore vidfile value
#			212:		save/restore vidposition value
#			213:		save/restore vidrate value
#			214:		save/restore vidbal value
#			215:		save/restore vidstat on/off value
#			215:		save/restore tonevol value
#			216:		save/restore maskvol value
#			217:		save/restore flasher on/off value
#
# Comments:
#
#
# Begin:
#	Check 199 variable for what is happening.
#
<gotolabel> %199%
#
# bad data
#
<set 198> Script name was "Support - Data Save and Restore" and the cause was "action variable was neither 0 nor 1".
<loadcall> suggestions\Instant - Emergency Exit.txt
#
# Save Data
#
0:
<set 200> backvol
<set 201> backfile
<set 202> backposition
<set 203> backrate
<set 204> backbal
<set 205> custvol
<set 206> custfile
<set 207> custposition
<set 208> custrate
<set 209> custbal
<set 210> vidvol
<set 211> vidfile
<set 212> vidposition
<set 213> vidrate
<set 214> vidbal
<set 215> vidstat
<set 216> tonevol
<set 217> maskvol
<set 218> flashers
<gotolabel> EXIT
#
# Restore Data
1:
<backvol> %200%
<backfile> %201%
#<backposition> %202%
#<backrate> %203%
<backbal> %204%
<custvol> %205%
<custfile> %206%
#<custposition> %207%
#<custrate> %208%
<custbal> %209%
<vidvol> %210%
<vidfile> %211%
#<vidposition> %212%
#<vidrate> %213%
#<vidbal> %214%
#<vidstat> %215%
<tonevol> %216%
<maskvol> %217%
<flashers> %218%
<gotolabel> EXIT
#
# End:
#
EXIT:
<end>
