Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Avatar key based script to send unwanted guests home and prevent
- //them from returning for an hour.
- //Script should be in an object owned by the landowner to work.
- //You'll need to find the UUID for the avatar you want to eject and
- //say the key on channel 911. This script allows anyone sending a
- //UUID on channel 911 to send someone to sleep it off.
- integer listen_handle;
- default
- {
- state_entry()
- {
- listen_handle = llListen(911, "", "", "");
- }
- listen( integer channel, string name, key id, string message )
- {
- message = llStringTrim(llToLower(message), STRING_TRIM);
- key pest = (key)message;
- llTeleportAgentHome(pest);
- llAddToLandBanList(pest,1.0);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement