Jump to content

How do I view the chat on one line?


You are about to reply to a thread that has been inactive for 3396 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
You are about to reply to a thread that has been inactive for 3396 days.

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...