05-27-2007 07:07
Just a quick script I wrote up for someone who's nightclub build was being used by unethical land agents to screw people over - they'd buy the land thinking the club was part of the package only to have it go *poof* after the sale because it was no-transfer. Change the list check to a group check if you don't want anyone out of your group to own it (for example, something being developed by a coding team, something you don't want to be "in the wild" until the bugs are worked out)

CODE

// Replace names below with real name(s)
list bad_people = ["ANDREW JACKSON","MILLARD FILLMORE"];

default {
on_rez(integer start_param) {
string sOwner = llToUpper(llKey2Name(llGetOwner()));
if (llListFindList(bad_people, [sOwner]) > -1) {
llSay (0, "SORRY " + sOwner + " BUT YOU'RE NOT ALLOWED TO OWN THIS!!!");
llDie(); // go *poof*
}
}
}