This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
////////////////////////////////////////////////////////////////////// | |
// Holds the key of the last request. | |
key g_keyRequest; | |
////////////////////////////////////////////////////////////////////// | |
// Force a refresh of the region map. | |
RefreshMap() | |
{ | |
g_keyRequest = llHTTPRequest( "http://api.gridsurvey.com/simquery.php?" + | |
"region=" + llEscapeURL( llGetRegionName() ) + "&item=objects_uuid", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
////////////////////////////////////////////////////////////////////// | |
// Sim Restart Notifier -- By Antony Fairport | |
// | |
// IMs you when the sim it is located on restarts. Handy during | |
// rolling restarts when you've had to run away and want to be told | |
// as soon as it's back up. | |
// | |
// Revision history: | |
// ------------------------------------------------------------ | |
// |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
////////////////////////////////////////////////////////////////////// | |
// Last online scanner -- see when given avatars were last online | |
// By Antony Fairport. | |
// | |
// Revision history. | |
// ================= | |
// | |
// 2011-05-07 | |
// Initial version. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
////////////////////////////////////////////////////////////////////// | |
// Z&A As the Crow Flies -- Find the distance between two points. | |
// By Antony Fairport | |
// | |
// Rez one or more prims around a place where you want to know how | |
// far away they are. Name each prim to something that will mean | |
// something to you. Now drop this script in each of them. Finally, | |
// touch the prim that you consider to be the point from which you | |
// want to measure. | |
// |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
////////////////////////////////////////////////////////////////////// | |
// Grid status notifier, by Antony Fairport | |
// | |
// Inspired by a similar script by Dermot Core / DigitaL Scribe. | |
// The original script didn't quite work as I'd like, so I took the | |
// core idea and made it work as I do like. | |
// | |
// To use simply create a prim and drop this inside it. Every 5mins | |
// the grid status is checked and, if it changes, an IM is sent to you | |
// Also, if anyone touches the prim the latest status (no matter if |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
////////////////////////////////////////////////////////////////////// | |
// Z&A Give Random Object | |
// By Antony Fairport | |
// | |
// Simple example of how you could create a script that will give a | |
// random object from inventory, on touch, and also allow for the | |
// fact that some or all of the objects might be no-copy. | |
// | |
// Note that this approach probably won't scale so well if the object | |
// is filled with many items. In that case, rather that reloading |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
////////////////////////////////////////////////////////////////////// | |
// Z&A Simple Walking Sound -- Play a sound when an avatar walks | |
// By Antony Fairport. | |
// | |
// Written as an experiment in reacting to llGetAnimation() return | |
// values (and to give me a barefoot padding sound when I'm not wearing | |
// any boots or shoes). | |
// | |
// I don't claim this is the best way, most efficient way, or most elegent | |
// way of doing this. But it's a way of doing it. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
////////////////////////////////////////////////////////////////////// | |
// Simple security system. | |
// By Antony Fairport. | |
// | |
// Revision history. | |
// ================= | |
// | |
// 2011-06-27 | |
// Initial version. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
default | |
{ | |
touch_start(integer total_number) | |
{ | |
list l = llGetAgentList( AGENT_LIST_REGION, [] ); | |
integer iMax = llGetListLength( l ); | |
integer i; | |
for ( i = 0; i < iMax; i++ ) | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
////////////////////////////////////////////////////////////////////// | |
// Sim Restart Notifier -- By Antony Fairport | |
// | |
// Informs you when the sim it is located on restarts. Handy during | |
// rolling restarts when you've had to run away and want to be told | |
// as soon as it's back up. | |
// | |
// Revision history: | |
// ------------------------------------------------------------ | |
// |
OlderNewer