Jump to content
You are about to reply to a thread that has been inactive for 119 days.

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

Recommended Posts

Posted (edited)

Looking for a script where the owner can touch and bring up a menu that lets them type their message into a field.

Then others can see this message sent to them by "IM" if they touch the object. Ideally, it shows only to the person that touched it so others in range don't get spammed.

I'd appreciate being pointed to a marketplace link that has this. Or buying it off a scripter. I haven't had any luck finding this on MP myself.

I know I can pull this off another with a note card giver but this is intended to be given to people that really aren't great with editing.

Edited by Always Salty
done
Posted
string gMsg;
integer gChan = -1928473;
default
{
  state_entry()
  {
    llListen(gChan,"",llGetOwner(),"");
  }
  listen(integer chan, string name, key id, string text)
  {
    gMsg = text;
    llOwnerSay("Message set to: "text);
  }
  touch_start(integer n)
  {
    while(~--n)
    {
      key toucher = llDetectedKey(n);
      if(llGetOwner==toucher)
      {
        llTextBox(toucher,"Type In New Message. \nCurrent message:\n "+msg,gChan);
      }else
      {
        llRegionSayTo(toucher,0,gMsg);
      }
    }
  }
}

(untested)

  • Always Salty changed the title to Message Script? (RESOLVED) (SCRIPT RECEIVED)
Posted
11 hours ago, Marvin Benelli said:

Why do you require an im on touch? Wouldn’t it be easier to display the most recent message as a hoover text?

That's none of your got dang business!!! 🤬

Just kidding. It's meant to be an interactive role-play object. The RP sim that will use this script bans hover text in props and decor.

  • Thanks 1
You are about to reply to a thread that has been inactive for 119 days.

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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...