Forum rules - please read before posting, it can save you a lot of time.
var MyNumber = Game.RegReadNumber ("MyNumber", 123); // will return 123 if the value doesn't exist yet in the registryvar MyString = Game.RegReadString ("MyString", "blahblah"); // will return "blahblah" if the value doesn't exist yet in the registry