Cleaner MLP Say - Second Life Wiki

Cleaner MLP Say

From Second Life Wiki

Second Life Wiki > Cleaner MLP Say
Jump to: navigation, search

Note that this is built-in behavior as of MLPV2.4m

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:

say(string str) {
    if (menuusers) llWhisper(0,str);
    else llOwnerSay(str);
}

4. Replace it with this, and save.

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