Jump to content

suggestion script


Spider Mycron
 Share

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

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

Recommended Posts

Hello,

  i have suggestion script that allow people to send their notecards inside the prim

but i need please below : 

1. i wish to allow people send a full perm of texture + Land mark instead of notecard (no need for notecard)

2. another version wish it to be like , they pay in order to get them allowed to send the texture and Land Mark.

and for the 2 options above texture must be full perm in order to allow them send it

Note: the texture and LM that would be sent by someone should be sent to another prim that work like main collection box for what people send .

means i have 2 prims , 1. allow people to send textures and LM, 2. a prim to collect them.

Thanks for help if your time allow with this

Link to comment
Share on other sites

2 minutes ago, Quistessa said:

I hate to be 'that gal' but what is your expected budget?


default
{
   state_entry()
   {
      llAllowInventoryDrop(TRUE);
   }
}

technically fulfills the requirements of #1, but any nice features while not hard to add are rather tedious.

actually i wish to get it cheap any chance, but same time i don't want to upset you with low pay 

so if you can do it for me just make offer and i will let you know if i can or not 

Thanks

Link to comment
Share on other sites

integer price = 10; // price in linden to add 1 inventory item.

default
{
    state_entry()
    {
        llAllowInventoryDrop(FALSE); //wait until state money to enable.
        llSetPayPrice(PAY_HIDE, [PAY_HIDE ,PAY_HIDE, PAY_HIDE, PAY_HIDE]);
        llRequestPermissions(llGetOwner(), PERMISSION_DEBIT);
    }
    run_time_permissions(integer perm)
    {
        if(perm & PERMISSION_DEBIT)
            state cash;
    }
}
 
state cash
{
    state_entry()
    {
        llSetPayPrice(price, [price ,PAY_HIDE, PAY_HIDE, PAY_HIDE]);
    }
    money(key id, integer amount)
    {
        if(amount != price)
        {
            llGiveMoney(id, amount);
            llInstantMessage(id, "You paid "+(string)amount+", which is the wrong price, the price is: "+(string)price);
        }
        else
        {
            llOwnerSay("secondlife:///app/agent/"+(string)id+"/inspect opened me");
            llAllowInventoryDrop(TRUE);
            llInstantMessage(id, "You may add 1 object of any kind (must be transferrable) to my inventory");
        }
    }
    changed(integer change)
    {
        //PUBLIC_CHANNEL has the integer value 0
        if (change & (CHANGED_ALLOWED_DROP | CHANGED_INVENTORY))
        {   llAllowInventoryDrop(FALSE);
            llSay(PUBLIC_CHANNEL, "Thank you for your input.");
        }
    }
}

is a basic modification of http://wiki.secondlife.com/wiki/LlAllowInventoryDrop and http://wiki.secondlife.com/wiki/LlSetPayPrice anything more complicated and I try to charge about 2k linden per hour of my time spent writing the script. I probably should try and be more consistent about that. . .

  • Like 1
Link to comment
Share on other sites

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