$nav ===== Function: llAddToLandBanList ===== llAddToLandBanList(key id, float hours) Add a person to the ban list of the parcel, either temporarily or permanently. $delay[0.1] ===== Parameters ===== === id === The $lty[key] of the avatar to ban. === hours === A $lty[float] with the number of hours the ban will last, or zero to make the ban permanent. ===== Notes ===== * $delay[0.1] * When the addition is not permanent, the maximum time that can be specified is 144 hours (6 days). If more than 144 hours are specified, 144 will be used. * Only scripts in objects owned by the land owner can use this function. ===== Short examples ===== // Permanently ban Doug Linden, whose key is a2e76fcd-9360-4f6d-a924-000000000001 llAddToLandBanList("a2e76fcd-9360-4f6d-a924-000000000001", 0); ===== Complete examples ===== default { state_entry() { llSetText("Don't touch me or you'll be banned for 30 minutes!", <1, 0, 0>, 1); } touch_start(integer num) { llAddToLandBanList(llDetectedKey(0), 0.5); } } ===== See also ===== * $lfn[llRemoveFromLandBanList] to remove someone from the ban list. * $lfn[llResetLandBanList] to clear the ban list. * $lfn[llAddToLandPassList] to add someone to the white list (allowed access list). * $lfn[llRemoveFromLandPassList] to remove someone from the white list. * $lfn[llResetLandPassList] to clear the white list.