Edie_Shoreland icon

Sleep It Off Buddy!

Edie_Shoreland | PRO | 06/30/18 03:20:27 PM UTC | 0 ⭐ | 9238 👁️ | Never ⏰ | []
Linden Scripting |

0 B

|

None

|

0 👍

/

0 👎

//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);
    }
}

Comments

  •  icon
    01/01/70 12:00:00 AM UTC
    Plain Text |

    0 B

    |

    👍

    /

    👎

    
        
  •  icon
    01/01/70 12:00:00 AM UTC
    Plain Text |

    0 B

    |

    👍

    /

    👎

    
        
  •  icon
    01/01/70 12:00:00 AM UTC
    Plain Text |

    0 B

    |

    👍

    /

    👎