Hey Forums, I've been having an annoying problem in my scripts lately. I was making one where I could write/read text files on my computer through the game, but I noticed a strange problem. Every time I would input the variable that would end up acting as the directory to write to ( /writeto Add-Ons/script...ect) the variable would default to the numerical value of 8282. I also noticed this took effect on other scripts of mine. In it's simplest form, here it is:
function servercmdGlitch(%input)
{
announce(%input);
}
Ingame, it'd announce, "8282". If I remember correctly, there was also another number showing up on other scripts of mine. I've tried changing text editors and encryption methods. Does anyone know the problem?