Thread: player.loadvars
View Single Post
  #1  
Old 04-14-2009, 07:56 PM
Schetti Schetti is offline
SC2 Player
Schetti's Avatar
Join Date: Nov 2008
Location: Austria
Posts: 269
Schetti is on a distinguished road
player.loadvars

Lets say, I wrote in my "notepad":

This is a test.
To show how it fails.

and let this script part work:
PHP Code:
function Notes_list.onSelect(id,text,indx){
  
player.notes.loadvars("Notes/"@player.account@".txt");
  
Notes_title.text player.notes.list[id];
  
this.txt player.notes.(@Notes_title.text);

  
Notes_note.text this.txt;


the text in the GUI looks:
"This is a test.\r\nTo show how it fails.",

someone can tell me how to fix this?
__________________
“Peace cannot be kept by force. It can only be achieved by understanding.” – Albert Einstein
Reply With Quote