Il tuo IP:

38.107.191.83
Appunti Second Life
Valutazione attuale: / 0
ScarsoOttimo 
Scritto da Dario   
Lunedì 04 Giugno 2007 15:50
Questo script permette di farsi pagare...

integer totaldonated;
string owner;

default
{
state_entry()
{
owner = llKey2Name(llGetOwner());
llSetText( owner + "'s donation box.\nAll donations gratefully accepted.\n$0 donated so far.\nRight-click on me and select Pay to donate.",<1,1,1>,1);
}

on_rez( integer sparam )
{
llResetScript();
}

money(key id, integer amount)
{
totaldonated+=amount;
llSetText( owner + "'s donation box.\nAll donations gratefully accepted.\n$" + (string)totaldonated + " donated so far.\nRight-click on me and select Pay to donate.",<1,1,1>,1);
llInstantMessage(id,"Thanks very much for the tip!");
llInstantMessage(llGetOwner(),llKey2Name(id)+" donated $" + (string)amount);
}
}
+/-
Commenta
Nome:
Email:
 
Titolo:
UBBCode:
[b] [i] [u] [url] [quote] [code] [img] 
 
 
:angry::0:confused::cheer:B):evil::silly::dry::lol::kiss::D:pinch:
:(:shock::X:side::):P:unsure::woohoo::huh::whistle:;):s
:!::?::idea::arrow:
 
Please input the anti-spam code that you can read in the image.
+/- Commenti
Nuovo

our Copyright

 
Dario&Federica
Hosting neomediatech