Jump to content

How do I view the chat on one line?


DIGITALWORLD
You are about to reply to a thread that has been inactive for 3403 days.

Please take a moment to consider if this thread is worth bumping.

Recommended Posts

I want to chat displays a single line in such a thing: NUMBER: 1111

I came up with this code:

default
{
   on_rez (integer start_param)
   {
      llSay (0, "NUMBER: ");
      
      integer i = 0;
      integer b = 4;
      
      for (a, a <b, a + +)
      {
         llSay (0, "1 ");
      }
   }
}


Unfortunately, as a function of linden llsay () do everything possible to automatically move to the next line and after compiling the code on the chat looks like this:

NUMBER:
1
1
1
1

Has anyone an idea how to write a script to display the all on one line?

Post to close. On the Polish forum I received a reply.

 

default
{  
   on_rez(integer start_param)
   { 
      string text;
      zmienna += "NUMBERS ";
      
      integer a = 0;
      integer b = 4;

      for(a; a < b; a++)
      {
         text += "1";
      }

      llSay (0, text);
   }
}

 

Link to post
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...