well.lslp 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. //
  2. // The line above should be left blank to avoid script errors in OpenSim.
  3. /*
  4. * Part of the Sloodle project (www.sloodle.org)
  5. *
  6. * Copyright (c) 2011-06 contributors (see below)
  7. * Released under the GNU GPL v3
  8. * -------------------------------------------
  9. *
  10. * This program is free software: you can redistribute it and/or modify
  11. * it under the terms of the GNU General Public License as published by
  12. * the Free Software Foundation, either version 3 of the License, or
  13. * (at your option) any later version.
  14. *
  15. *
  16. * This program is distributed in the hope that it will be useful,
  17. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  18. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  19. * GNU General Public License for more details.
  20. * You should have received a copy of the GNU General Public License
  21. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  22. *
  23. * All scripts must maintain this copyrite information, including the contributer information listed
  24. *
  25. * Contributors:
  26. * Paul Preibisch
  27. * Edmund Edgar
  28. *
  29. * DESCRIPTION
  30. */
  31. integer SLOODLE_TOUCH_OBJECT_SUCCESS = -1639277100;
  32. default {
  33. state_entry() {
  34. }
  35. link_message(integer sender_num, integer num, string str, key userkey) {
  36. if (num ==SLOODLE_TOUCH_OBJECT_SUCCESS){
  37. llMessageLinked(LINK_SET, -100,"p1", NULL_KEY);
  38. llSay("Gave one "+llGetObjectName()+" to " +llKey2Name(userkey));
  39. }
  40. }
  41. }
  42. // Please leave the following line intact to show where the script lives in Git:
  43. // SLOODLE LSL Script Git Location: mod/interaction-1.0/object_scripts/well.lslp