View Single Post
  #6  
Old 02-21-2016, 07:46 PM
ffcmike ffcmike is offline
Banned
Join Date: Jul 2004
Location: London
Posts: 2,029
ffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond repute
Send a message via AIM to ffcmike Send a message via MSN to ffcmike
The problem seems to be something else, lines are being echo'd fine for me when I do:

PHP Code:
temp.messageSize 3;
for(
temp.0temp.temp.messageSizetemp.i++){
  
  new 
GuiMLTextCtrl("Message_" temp.i){
    
useownprofile      true;
    
profile.modal      false;
    
profile.fonttype   "Arial";
    
profile.fontsize   20;
    
profile.fontcolor  temp.textFormat "black" "white";
    
    
profile.textshadow  true;
    
profile.shadowcolor "black";
    
    
allowedtags = (temp.fromstaff ? {"img""b""font""center"} : {"b""img"});
    
    
alpha temp.textFormat 0.3 1.0;
    
visible true;
    
resize(50temp.y10020);
    
    
text "asdf asdf asdf asdf asdf asdf asdf asdf ";
  }
  
  
  echo(@(
"Message_" temp.i).getlines());
  
  
  
temp.chat_height temp.lines <= 25 temp.lines 25;
  
temp.+= temp.chat_height;
  

Renders 2 "asdf" per line, echo's:

Quote:
"asdf asdf","asdf asdf","asdf asdf","asdf asdf"
"asdf asdf","asdf asdf","asdf asdf","asdf asdf"
"asdf asdf","asdf asdf","asdf asdf","asdf asdf"
Reply With Quote