When setting a loginScript for a character under Preferences -> Automation, the loginScript value is set under GLOBAL_prefs rather than [character]_pref. Other Automation options such as Pre-Adventure, Post-Adventure, and Recovery set the value under [character]_pref. I haven't tested any other...