PS: I'm running this code from a referenceAlias script on a quest that starts as soon as a save is loaded. Not that it should make any difference, but just thought I'd put that out there..
String asLogName = "userSessionLog"Event OnInit()If(Debug.OpenUserLog(asLogName))Debug.MessageBox("Opened the log..")ElseDebug.MessageBox("Did not open the log..")EndIfIf(Debug.TraceUser(asLogName, "some random info"))Debug.MessageBox("I just wrote to the sessionLog!")ElseDebug.MessageBox("Could not write to sessionLog.")EndIfDebug.CloseUserLog(asLogName)EndEvent

