Jump to content

How do I view the chat on one line?


DIGITALWORLD
 Share

You are about to reply to a thread that has been inactive for 4139 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 comment
Share on other sites

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

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...