Hello,

I was trying to write to a text file some information, but it seems when combined with an editbox for some reason, the output does not show returns/spacing between text.

Example:
Code:
on *:DIALOG:tlogger:sclick:15: {
  var %n = %nick | var %p = $did(12).text | var %s = $did(14).text | inc %x
  write " $+ $scriptdir $+ info.txt" $+(%x,$chr(124),%n,$chr(124),%p,$chr(124),%s) 
}


output in txt file:
1|Buggs2008|problem1 line1|solution1 line1

---------------------------------------------
Given in editbox1:
---------------------------------------------
problem1 line1

problem2 line

---------------------------------------------
Given in editbox2:
---------------------------------------------
solution1 line1

solution2 line2


Any thoughts or suggestions?

Thanks a bunch