Cleaner MLP Say

From Second Life Wiki
Revision as of 06:45, 14 July 2008 by Lear Cale (talk | contribs)
Jump to navigation Jump to search

What this does:

Instead of users having their vision obscured by text like this covering half their screen:

[14:04] Animated Living Sofa Combo Couple & Solo 2.1e whispers: Lie F 1
[14:04] Animated Living Sofa Combo Couple & Solo 2.1e whispers: Lie F 2
[14:04] Animated Living Sofa Combo Couple & Solo 2.1e whispers: Lie 04
[14:04] Animated Living Sofa Combo Couple & Solo 2.1e whispers: Lie 05
[14:04] Animated Living Sofa Combo Couple & Solo 2.1e whispers: Lie 06


They see just this when selecting poses from the menu:


[14:04] Lie F 1
[14:04] Lie F 2
[14:04] Lie 04
[14:04] Lie 05
[14:04] Lie 06

This both gives them a less obstructed view of their surroundings, and lets their eyes pick out quickly just the essential information they need to see.

To make this change in your MLP products:

1) Locate the script called "~menu";
2) Open it to edit it;
3) Locate, in the top half of the script, the function called "say". It looks like this:

<lsl> say(string str) {

   if (menuusers) llWhisper(0,str);
   else llOwnerSay(str);

} </lsl>

4. Replace it with this, and save.

<lsl> say(string str) {

   string name = llGetObjectName();
   llSetObjectName("");
   if (menuusers) llWhisper(0, "/me " + str);
   else llOwnerSay("/me " + str);
   llSetObjectName(name);

} </lsl>