if file_exists(temp_directory+"/"+scrname+".script")
{
scriptfile = file_text_open_read(temp_directory+"/"+scrname+".script")
scripttext += file_text_read_string(scriptfile)
file_text_close(scriptfile)
show_message(scripttext)
}The message that pops up at the end of that just says "s", and this is what the .script file says:show_message("This script was sent.")I tried changing the script, and it continually returned only the first letter. :/ I tried file_text_readln but that didn't even return anything. If it's at all relevant... The source that writes to the .script file is the 39dll function, filewrite() which writes a string from the buffer. This is required because I'm transferring the script online.
EDIT: As I was writing this I just had the realization... Perhaps 39dll sent a null byte, which is then being stored in the text file. Although invisible to notepad, if there is a null byte it would probably end the reading of the string. So I tried making a file manually and it loaded that just fine. I'm thinking that's probably the issue, so now I just need to figure out how to avoid writing those null bytes... lol
EDIT2: Yup, that was it. Solved on my own... lol



Find content
Male

