#alias {.login} { #read ./fl/prefs_$character; } #action {^([Q]uit) Enter Aabahran with which Name?> $} {#alias {%*} {#var {character} {%%1};#send %%1}} #action {^Password?> $} {#unalias {%%*}} #action {^Prepare yourself. For you are about to <Enter> the Forsaken Lands!$} { .login; #unaction {^([Q]uit) Enter Aabahran with which Name?> $}; #unaction {^Password?> $}; #unaction {^Prepare yourself. For you are about to <Enter> the Forsaken Lands!$}; } #alias {.quit} {#write {./fl/prefs_$character};quit}
Note: This saves the values of every variable, every alias, action, etc... Produced file can also be used as "initiating file", although it would lack #session setup - unless that is within alias.