SHARE
TWEET

Simple Tipjar

JymResident Aug 17th, 2019 (edited) 58 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // Written By: Ĵyм Ѡҩℓƒ (Jym Resident)
  2. /*
  3. LICENCE:
  4. This program is free software: you can redistribute it and/or modify
  5. it under the terms of the GNU General Public License as published by
  6. the Free Software Foundation, either version 3 of the License, or
  7. any later version.
  8.  
  9. This program is distributed in the hope that it will be useful,
  10. but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  12. GNU General Public License for more details.
  13.  
  14. You should have received a copy of the GNU General Public License
  15. along with this program.  If not, see <http://www.gnu.org/licenses/>.
  16. or you may visit - http://license.idjhost.com/
  17. */
  18. // DESCRIPTION
  19. // Let's you collect tips really easy, define prices and save.
  20.  
  21. integer custom = 250;
  22. integer pay001 = 10;
  23. integer pay002 = 50;
  24. integer pay003 = 100;
  25. integer pay004 = 500;
  26.  
  27. default{
  28.     on_rez(integer param){llResetScript();}
  29.     state_entry(){
  30.         llSetPayPrice(custom, [pay001, pay002, pay003, pay004]);
  31.         llSetClickAction(CLICK_ACTION_PAY);
  32.     }
  33.     money(key id, integer amount){
  34.         llSay(0,"Thank you for showing your appreciation.");
  35.     }
  36. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top