Hello, I have, by copy and pasting from examples i found, tried to write a variable a into a file, to late restore it with another script. I have the feeling this could be quite handy for different tasks - eg to let a script know if a action has already been done, to set global "modes" for a number of scripts, etc. For example one script to be used to set a variable in the file to 1 or 0. Other scripts could look at that variable and show different behaviors deppending on what number they see. Below are my experiments, if you feel this should be handled differently please give me a hint - i really have no idea what i am actually doing here. With this code (adapted from the superglue scripts) i can actually create a file flags.db :) I have no idea if i am actually writing to it, opening the file in text editor shows a bunch of strange symbols... also if i try to define a = 1 and call it real, integer or number i get an error that the variable type is not supported. Only works with text like this: Code: