Jump to content

Link to my MP


MorrianaDarkstar
 Share

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

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

Recommended Posts

Put this script inside the object.

default
{

    state_entry()
    {
        llSetMemoryLimit(llGetUsedMemory() + 2048);
    }

    on_rez(integer sp)
    {
        llResetScript();
    }

    touch_start(integer total_number)
    {
        string targetMsg = "Click the link in chat to visit [https://marketplace.secondlife.com/stores/200251 my store] on Second Life Marketplace.";
        key targetAvatar = llDetectedKey(0);
        if (llGetAgentSize(targetAvatar) != ZERO_VECTOR)
        {
            llRegionSayTo(targetAvatar, 0, targetMsg);
        }
        else
        {
            llInstantMessage(targetAvatar, targetMsg);
        }
    }

}

 

  • Like 3
Link to comment
Share on other sites

17 minutes ago, panterapolnocy said:

Put this script inside the object.

default
{

    state_entry()
    {
        llSetMemoryLimit(llGetUsedMemory() + 2048);
    }

    on_rez(integer sp)
    {
        llResetScript();
    }

    touch_start(integer total_number)
    {
        string targetMsg = "Click the link in chat to visit [https://marketplace.secondlife.com/stores/200251 my store] on Second Life Marketplace.";
        key targetAvatar = llDetectedKey(0);
        if (llGetAgentSize(targetAvatar) != ZERO_VECTOR)
        {
            llRegionSayTo(targetAvatar, 0, targetMsg);
        }
        else
        {
            llInstantMessage(targetAvatar, targetMsg);
        }
    }

}

 

Thank you very much.I need to put the script in content section?

Edited by MorrianaDarkstar
Link to comment
Share on other sites

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

×
×
  • Create New...