squirrel.lsl 576 B

123456789101112131415161718192021222324252627282930313233343536
  1. // :CATEGORY:Bird
  2. // :NAME:Roaming Owl
  3. // :AUTHOR:Ferd Frederix
  4. // :CREATED:2013-09-06
  5. // :EDITED:2013-09-18 15:39:01
  6. // :ID:707
  7. // :NUM:967
  8. // :REV:1
  9. // :WORLD:Second Life
  10. // :DESCRIPTION:
  11. // Squirrel scrip gets grabbed by the owl
  12. // :CODE:
  13. // put this in a prim named 'Squirrel and feeder' for the owl to catch.
  14. default
  15. {
  16. state_entry()
  17. {
  18. llListen(2222,"","","fish");
  19. }
  20. listen( integer channel, string name, key id, string message )
  21. {
  22. llDie();
  23. }
  24. on_rez(integer param)
  25. {
  26. llResetScript();
  27. }
  28. }