adds ParcelReturnAll

This commit is contained in:
Madpeter 2025-04-09 19:33:20 +01:00
parent 93ab8b3ca8
commit bbb7405dcd

View file

@ -696,6 +696,16 @@ namespace SecondBotEvents.Commands
return BasicReply("ok", [avatar]); return BasicReply("ok", [avatar]);
} }
[About("Returns all objects from the current parcel for all avatars")]
[ReturnHints("ok")]
[ReturnHintsFailure("Error not in a sim")]
[ReturnHintsFailure("Parcel data not ready")]
public object ParcelReturnAll()
{
GetClient().Parcels.ReturnObjects(GetClient().Network.CurrentSim, targetparcel.LocalID, ObjectReturnType.None, null);
return BasicReply("ok");
}
[About("transfers the current parcel ownership to the assigned group")] [About("transfers the current parcel ownership to the assigned group")]
[ReturnHints("ok")] [ReturnHints("ok")]