From 74cd5153018f1a1fc11cfc893a3509985c19e2f5 Mon Sep 17 00:00:00 2001 From: Madpeter Date: Wed, 6 May 2020 17:36:04 +0100 Subject: [PATCH] removes unneeded usings from the top of commands --- Core/Commands/Chat/im.cs | 6 +----- Core/Commands/Chat/say.cs | 5 +---- Core/Commands/Dialogs/DialogRelay.cs | 3 --- Core/Commands/Dialogs/DialogResponce.cs | 7 +------ Core/Commands/Dialogs/DialogTrack.cs | 6 +----- Core/Commands/Estate/EstateParcelReclaim.cs | 9 +-------- Core/Commands/Estate/SimMessage.cs | 9 +-------- Core/Commands/Estate/SimRestart.cs | 9 +-------- Core/Commands/Group/GroupInvite.cs | 1 - Core/Commands/Group/GroupNotice.cs | 3 --- Core/Commands/Group/group.cs | 3 --- Core/Commands/Group/groupchat.cs | 2 -- Core/Commands/Group/groupchatAnyUnread.cs | 6 +----- Core/Commands/Group/groupchatClearAll.cs | 6 +----- Core/Commands/Group/groupchatGroupHasUnread.cs | 3 --- Core/Commands/Group/groupchatHistory.cs | 3 --- Core/Commands/Group/groupchatListAllUnreadGroups.cs | 2 -- Core/Commands/Home/AtHomeSameSimMode.cs | 9 +-------- Core/Commands/Home/AtHomeSameSimRange.cs | 9 +-------- Core/Commands/Home/GoHome.cs | 9 +-------- Core/Commands/Home/resetAtHome.cs | 9 +-------- Core/Commands/Inventory/InventoryPurgeNotecards.cs | 3 --- Core/Commands/Inventory/attach.cs | 5 +---- Core/Commands/Inventory/inventoryContents.cs | 3 --- Core/Commands/Inventory/inventoryFolders.cs | 7 +------ Core/Commands/Inventory/outfit.cs | 6 +----- Core/Commands/Inventory/sendFolder.cs | 3 --- Core/Commands/Inventory/sendItem.cs | 6 +----- Core/Commands/Movement/AutoPilotLocal.cs | 2 -- Core/Commands/Movement/AutoPilotStop.cs | 6 +----- Core/Commands/Movement/Fly.cs | 6 +----- Core/Commands/Movement/rotateTo.cs | 2 -- Core/Commands/Movement/teleport.cs | 7 +------ Core/Commands/Notecard/notecardAdd.cs | 7 +------ Core/Commands/Notecard/notecardClear.cs | 7 +------ Core/Commands/Notecard/notecardSend.cs | 5 +---- Core/Commands/Parcel/AbandonLand.cs | 10 +--------- Core/Commands/Parcel/GetParcelDesc.cs | 10 +--------- Core/Commands/Parcel/GetParcelFlags.cs | 3 +-- Core/Commands/Parcel/GetParcelName.cs | 10 +--------- Core/Commands/Parcel/ParcelBuy.cs | 6 +----- Core/Commands/Parcel/ParcelCleanAndSell.cs | 4 ---- Core/Commands/Parcel/ParcelCommandHelper.cs | 6 +----- Core/Commands/Parcel/ParcelDeedToGroup.cs | 1 - Core/Commands/Parcel/ParcelPrimCountTotal.cs | 1 - Core/Commands/Parcel/ParcelReturnObjects.cs | 1 - Core/Commands/Parcel/ParcelReturnTargeted.cs | 2 -- Core/Commands/Parcel/ParcelSetMedia.cs | 3 --- Core/Commands/Parcel/SetParcelDesc.cs | 10 +--------- Core/Commands/Parcel/SetParcelFlag.cs | 2 -- Core/Commands/Parcel/SetParcelMusic.cs | 9 +-------- Core/Commands/Parcel/SetParcelName.cs | 10 +--------- Core/Commands/Parcel/SetParcelSale.cs | 8 +------- Core/Commands/Parcel/eject.cs | 3 --- Core/Commands/Script/scriptHttp.cs | 3 --- Core/Commands/Script/scriptSend.cs | 5 +---- Core/Commands/Self/GetLastCommands.cs | 2 -- Core/Commands/Self/Help.cs | 6 +----- Core/Commands/Self/addToAnimations.cs | 9 +-------- Core/Commands/Self/botVersion.cs | 8 +------- Core/Commands/Self/logout.cs | 7 +------ Core/Commands/Self/pointAt.cs | 7 +------ Core/Commands/Self/sit.cs | 7 +------ Core/Commands/Self/stand.cs | 11 ++--------- Core/Commands/StreamAdmin/FetchNextNotecard.cs | 3 --- 65 files changed, 42 insertions(+), 319 deletions(-) diff --git a/Core/Commands/Chat/im.cs b/Core/Commands/Chat/im.cs index 61cfda6..2242cbb 100644 --- a/Core/Commands/Chat/im.cs +++ b/Core/Commands/Chat/im.cs @@ -1,8 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Text; -using System.Linq; -using OpenMetaverse; +using OpenMetaverse; using BetterSecondBotShared.Static; namespace BSB.Commands.Chat diff --git a/Core/Commands/Chat/say.cs b/Core/Commands/Chat/say.cs index 12d7002..5616e5e 100644 --- a/Core/Commands/Chat/say.cs +++ b/Core/Commands/Chat/say.cs @@ -1,7 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Text; -using System.Linq; +using System.Linq; using OpenMetaverse; namespace BSB.Commands.Chat diff --git a/Core/Commands/Dialogs/DialogRelay.cs b/Core/Commands/Dialogs/DialogRelay.cs index 7855396..1e5b780 100644 --- a/Core/Commands/Dialogs/DialogRelay.cs +++ b/Core/Commands/Dialogs/DialogRelay.cs @@ -1,7 +1,4 @@ using OpenMetaverse; -using System; -using System.Collections.Generic; -using System.Text; namespace BSB.Commands.Dialogs { diff --git a/Core/Commands/Dialogs/DialogResponce.cs b/Core/Commands/Dialogs/DialogResponce.cs index 86fcc07..4ad3a1f 100644 --- a/Core/Commands/Dialogs/DialogResponce.cs +++ b/Core/Commands/Dialogs/DialogResponce.cs @@ -1,9 +1,4 @@ -using OpenMetaverse; -using System; -using System.Collections.Generic; -using System.Text; - -namespace BSB.Commands.Dialogs +namespace BSB.Commands.Dialogs { class DialogResponce : CoreCommand_2arg { diff --git a/Core/Commands/Dialogs/DialogTrack.cs b/Core/Commands/Dialogs/DialogTrack.cs index 0335b23..d8db22d 100644 --- a/Core/Commands/Dialogs/DialogTrack.cs +++ b/Core/Commands/Dialogs/DialogTrack.cs @@ -1,8 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Text; - -namespace BSB.Commands.Dialogs +namespace BSB.Commands.Dialogs { class DialogTrack : CoreCommand_1arg { diff --git a/Core/Commands/Estate/EstateParcelReclaim.cs b/Core/Commands/Estate/EstateParcelReclaim.cs index d9cd300..94f557b 100644 --- a/Core/Commands/Estate/EstateParcelReclaim.cs +++ b/Core/Commands/Estate/EstateParcelReclaim.cs @@ -1,11 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Text; -using BetterSecondBotShared.logs; -using BetterSecondBotShared.Static; -using OpenMetaverse; - -namespace BSB.Commands.Estate +namespace BSB.Commands.Estate { public class EstateParcelReclaim : CoreCommand { diff --git a/Core/Commands/Estate/SimMessage.cs b/Core/Commands/Estate/SimMessage.cs index 0e9f065..aa7d8e9 100644 --- a/Core/Commands/Estate/SimMessage.cs +++ b/Core/Commands/Estate/SimMessage.cs @@ -1,11 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Text; -using BetterSecondBotShared.logs; -using BetterSecondBotShared.Static; -using OpenMetaverse; - -namespace BSB.Commands.Estate +namespace BSB.Commands.Estate { public class SimMessage : CoreCommand_1arg { diff --git a/Core/Commands/Estate/SimRestart.cs b/Core/Commands/Estate/SimRestart.cs index 3610601..ff60209 100644 --- a/Core/Commands/Estate/SimRestart.cs +++ b/Core/Commands/Estate/SimRestart.cs @@ -1,11 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Text; -using BetterSecondBotShared.logs; -using BetterSecondBotShared.Static; -using OpenMetaverse; - -namespace BSB.Commands.Estate +namespace BSB.Commands.Estate { public class SimRestart : CoreCommand_1arg { diff --git a/Core/Commands/Group/GroupInvite.cs b/Core/Commands/Group/GroupInvite.cs index 6fc459b..094046b 100644 --- a/Core/Commands/Group/GroupInvite.cs +++ b/Core/Commands/Group/GroupInvite.cs @@ -1,6 +1,5 @@ using System; using System.Collections.Generic; -using System.Text; using OpenMetaverse; using BetterSecondBotShared.logs; diff --git a/Core/Commands/Group/GroupNotice.cs b/Core/Commands/Group/GroupNotice.cs index b90f50a..e8100f7 100644 --- a/Core/Commands/Group/GroupNotice.cs +++ b/Core/Commands/Group/GroupNotice.cs @@ -1,8 +1,5 @@ using BetterSecondBotShared.Static; using OpenMetaverse; -using System; -using System.Collections.Generic; -using System.Text; namespace BSB.Commands.Group { diff --git a/Core/Commands/Group/group.cs b/Core/Commands/Group/group.cs index 7b308dd..c6f3232 100644 --- a/Core/Commands/Group/group.cs +++ b/Core/Commands/Group/group.cs @@ -1,7 +1,4 @@ using OpenMetaverse; -using System; -using System.Collections.Generic; -using System.Text; namespace BSB.Commands.Group { diff --git a/Core/Commands/Group/groupchat.cs b/Core/Commands/Group/groupchat.cs index 8a65858..bf5b38f 100644 --- a/Core/Commands/Group/groupchat.cs +++ b/Core/Commands/Group/groupchat.cs @@ -1,7 +1,5 @@ using OpenMetaverse; using System; -using System.Collections.Generic; -using System.Text; namespace BSB.Commands.Group { diff --git a/Core/Commands/Group/groupchatAnyUnread.cs b/Core/Commands/Group/groupchatAnyUnread.cs index 230c173..d7971f5 100644 --- a/Core/Commands/Group/groupchatAnyUnread.cs +++ b/Core/Commands/Group/groupchatAnyUnread.cs @@ -1,8 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Text; - -namespace BSB.Commands.Group +namespace BSB.Commands.Group { class GroupchatAnyUnread : CoreGroupCommand_SmartReply_auto { diff --git a/Core/Commands/Group/groupchatClearAll.cs b/Core/Commands/Group/groupchatClearAll.cs index bf9fe6d..6efd7ab 100644 --- a/Core/Commands/Group/groupchatClearAll.cs +++ b/Core/Commands/Group/groupchatClearAll.cs @@ -1,8 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Text; - -namespace BSB.Commands.Group +namespace BSB.Commands.Group { class GroupchatClearAll : CoreCommand { diff --git a/Core/Commands/Group/groupchatGroupHasUnread.cs b/Core/Commands/Group/groupchatGroupHasUnread.cs index b47701b..2a3a2e8 100644 --- a/Core/Commands/Group/groupchatGroupHasUnread.cs +++ b/Core/Commands/Group/groupchatGroupHasUnread.cs @@ -1,7 +1,4 @@ using OpenMetaverse; -using System; -using System.Collections.Generic; -using System.Text; namespace BSB.Commands.Group { diff --git a/Core/Commands/Group/groupchatHistory.cs b/Core/Commands/Group/groupchatHistory.cs index d92b711..4f79fdb 100644 --- a/Core/Commands/Group/groupchatHistory.cs +++ b/Core/Commands/Group/groupchatHistory.cs @@ -1,7 +1,4 @@ using System; -using System.Collections.Generic; -using System.Text; -using System.Linq; using OpenMetaverse; namespace BSB.Commands.Group diff --git a/Core/Commands/Group/groupchatListAllUnreadGroups.cs b/Core/Commands/Group/groupchatListAllUnreadGroups.cs index 0692c63..2ab9b81 100644 --- a/Core/Commands/Group/groupchatListAllUnreadGroups.cs +++ b/Core/Commands/Group/groupchatListAllUnreadGroups.cs @@ -1,6 +1,4 @@ using OpenMetaverse; -using System; -using System.Collections.Generic; using System.Text; namespace BSB.Commands.Group diff --git a/Core/Commands/Home/AtHomeSameSimMode.cs b/Core/Commands/Home/AtHomeSameSimMode.cs index 51a77a4..c74c73a 100644 --- a/Core/Commands/Home/AtHomeSameSimMode.cs +++ b/Core/Commands/Home/AtHomeSameSimMode.cs @@ -1,11 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Text; -using System.Linq; -using OpenMetaverse; - - -namespace BSB.Commands.Home +namespace BSB.Commands.Home { public class AtHomeSameSimMode : CoreCommand_1arg { diff --git a/Core/Commands/Home/AtHomeSameSimRange.cs b/Core/Commands/Home/AtHomeSameSimRange.cs index 21eee69..77ed7a8 100644 --- a/Core/Commands/Home/AtHomeSameSimRange.cs +++ b/Core/Commands/Home/AtHomeSameSimRange.cs @@ -1,11 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Text; -using System.Linq; -using OpenMetaverse; - - -namespace BSB.Commands.Home +namespace BSB.Commands.Home { public class AtHomeSameSimRange : CoreCommand_1arg { diff --git a/Core/Commands/Home/GoHome.cs b/Core/Commands/Home/GoHome.cs index 90ce96c..5fa0ecd 100644 --- a/Core/Commands/Home/GoHome.cs +++ b/Core/Commands/Home/GoHome.cs @@ -1,11 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Text; -using System.Linq; -using OpenMetaverse; - - -namespace BSB.Commands.Home +namespace BSB.Commands.Home { public class GoHome : CoreCommand { diff --git a/Core/Commands/Home/resetAtHome.cs b/Core/Commands/Home/resetAtHome.cs index e8aa29a..b1cff25 100644 --- a/Core/Commands/Home/resetAtHome.cs +++ b/Core/Commands/Home/resetAtHome.cs @@ -1,11 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Text; -using System.Linq; -using OpenMetaverse; - - -namespace BSB.Commands.Home +namespace BSB.Commands.Home { public class ResetAtHome : CoreCommand { diff --git a/Core/Commands/Inventory/InventoryPurgeNotecards.cs b/Core/Commands/Inventory/InventoryPurgeNotecards.cs index 752ca79..5379201 100644 --- a/Core/Commands/Inventory/InventoryPurgeNotecards.cs +++ b/Core/Commands/Inventory/InventoryPurgeNotecards.cs @@ -1,10 +1,7 @@ using System; using System.Collections.Generic; -using System.Text; using System.Linq; using OpenMetaverse; -using BSB.Static; -using BetterSecondBotShared.Static; namespace BSB.Commands.Inventory { diff --git a/Core/Commands/Inventory/attach.cs b/Core/Commands/Inventory/attach.cs index 135bd3c..7f21469 100644 --- a/Core/Commands/Inventory/attach.cs +++ b/Core/Commands/Inventory/attach.cs @@ -1,10 +1,7 @@ -using System; -using System.Collections.Generic; -using System.Text; +using System.Collections.Generic; using System.Linq; using OpenMetaverse; - namespace BSB.Commands.Inventory { public class Attach : CoreCommand_2arg diff --git a/Core/Commands/Inventory/inventoryContents.cs b/Core/Commands/Inventory/inventoryContents.cs index 4ea395a..280d8d9 100644 --- a/Core/Commands/Inventory/inventoryContents.cs +++ b/Core/Commands/Inventory/inventoryContents.cs @@ -1,7 +1,4 @@ using System; -using System.Collections.Generic; -using System.Text; -using System.Linq; using OpenMetaverse; using BSB.Static; using BetterSecondBotShared.Static; diff --git a/Core/Commands/Inventory/inventoryFolders.cs b/Core/Commands/Inventory/inventoryFolders.cs index ac15f51..7acb665 100644 --- a/Core/Commands/Inventory/inventoryFolders.cs +++ b/Core/Commands/Inventory/inventoryFolders.cs @@ -1,10 +1,5 @@ -using System; -using System.Collections.Generic; -using System.Text; -using System.Linq; -using OpenMetaverse; +using OpenMetaverse; using BSB.Static; -using BetterSecondBotShared.Static; namespace BSB.Commands.Inventory { diff --git a/Core/Commands/Inventory/outfit.cs b/Core/Commands/Inventory/outfit.cs index ab6e765..8096fa7 100644 --- a/Core/Commands/Inventory/outfit.cs +++ b/Core/Commands/Inventory/outfit.cs @@ -1,10 +1,6 @@ -using System; -using System.Collections.Generic; -using System.Text; -using System.Linq; +using System.Collections.Generic; using OpenMetaverse; - namespace BSB.Commands.Inventory { public class Outfit : CoreCommand_1arg diff --git a/Core/Commands/Inventory/sendFolder.cs b/Core/Commands/Inventory/sendFolder.cs index 034daf8..c14a75c 100644 --- a/Core/Commands/Inventory/sendFolder.cs +++ b/Core/Commands/Inventory/sendFolder.cs @@ -1,8 +1,5 @@ using BSB.Static; using OpenMetaverse; -using System; -using System.Collections.Generic; -using System.Text; namespace BSB.Commands.Inventory { diff --git a/Core/Commands/Inventory/sendItem.cs b/Core/Commands/Inventory/sendItem.cs index c250297..1dfcc3e 100644 --- a/Core/Commands/Inventory/sendItem.cs +++ b/Core/Commands/Inventory/sendItem.cs @@ -1,8 +1,4 @@ -using BSB.Static; -using OpenMetaverse; -using System; -using System.Collections.Generic; -using System.Text; +using OpenMetaverse; namespace BSB.Commands.Inventory { diff --git a/Core/Commands/Movement/AutoPilotLocal.cs b/Core/Commands/Movement/AutoPilotLocal.cs index 9f57924..1db0929 100644 --- a/Core/Commands/Movement/AutoPilotLocal.cs +++ b/Core/Commands/Movement/AutoPilotLocal.cs @@ -1,6 +1,4 @@ using System; -using System.Collections.Generic; -using System.Text; using OpenMetaverse; using BetterSecondBotShared.Static; namespace BSB.Commands.Movement diff --git a/Core/Commands/Movement/AutoPilotStop.cs b/Core/Commands/Movement/AutoPilotStop.cs index 200dd7c..93de70a 100644 --- a/Core/Commands/Movement/AutoPilotStop.cs +++ b/Core/Commands/Movement/AutoPilotStop.cs @@ -1,8 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Text; -using OpenMetaverse; -namespace BSB.Commands.Movement +namespace BSB.Commands.Movement { public class AutoPilotStop : CoreCommand { diff --git a/Core/Commands/Movement/Fly.cs b/Core/Commands/Movement/Fly.cs index 4504128..c77b2c2 100644 --- a/Core/Commands/Movement/Fly.cs +++ b/Core/Commands/Movement/Fly.cs @@ -1,8 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Text; -using OpenMetaverse; -namespace BSB.Commands.Movement +namespace BSB.Commands.Movement { public class BotFly : CoreCommand_1arg { diff --git a/Core/Commands/Movement/rotateTo.cs b/Core/Commands/Movement/rotateTo.cs index 08619d9..03a2ecb 100644 --- a/Core/Commands/Movement/rotateTo.cs +++ b/Core/Commands/Movement/rotateTo.cs @@ -1,6 +1,4 @@ using System; -using System.Collections.Generic; -using System.Text; using OpenMetaverse; namespace BSB.Commands.Movement { diff --git a/Core/Commands/Movement/teleport.cs b/Core/Commands/Movement/teleport.cs index bf32831..b6538fb 100644 --- a/Core/Commands/Movement/teleport.cs +++ b/Core/Commands/Movement/teleport.cs @@ -1,9 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Text; -using System.Linq; -using OpenMetaverse; - +using OpenMetaverse; namespace BSB.Commands.Movement { diff --git a/Core/Commands/Notecard/notecardAdd.cs b/Core/Commands/Notecard/notecardAdd.cs index 283a8b3..0eec5a7 100644 --- a/Core/Commands/Notecard/notecardAdd.cs +++ b/Core/Commands/Notecard/notecardAdd.cs @@ -1,9 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Text; -using OpenMetaverse; - -namespace BSB.Commands.Notecard +namespace BSB.Commands.Notecard { class NotecardAdd : CoreCommand_2arg { diff --git a/Core/Commands/Notecard/notecardClear.cs b/Core/Commands/Notecard/notecardClear.cs index dc2c061..3999065 100644 --- a/Core/Commands/Notecard/notecardClear.cs +++ b/Core/Commands/Notecard/notecardClear.cs @@ -1,9 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Text; -using OpenMetaverse; - -namespace BSB.Commands.Notecard +namespace BSB.Commands.Notecard { class NotecardClear : CoreCommand_1arg { diff --git a/Core/Commands/Notecard/notecardSend.cs b/Core/Commands/Notecard/notecardSend.cs index 7e4a04c..baf3c65 100644 --- a/Core/Commands/Notecard/notecardSend.cs +++ b/Core/Commands/Notecard/notecardSend.cs @@ -1,7 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Text; -using BetterSecondBotShared.Static; +using BetterSecondBotShared.Static; using OpenMetaverse; namespace BSB.Commands.Notecard diff --git a/Core/Commands/Parcel/AbandonLand.cs b/Core/Commands/Parcel/AbandonLand.cs index b43c7eb..121b083 100644 --- a/Core/Commands/Parcel/AbandonLand.cs +++ b/Core/Commands/Parcel/AbandonLand.cs @@ -1,13 +1,5 @@ -using System; -using System.Collections.Generic; -using System.Text; -using BetterSecondBotShared.logs; -using BetterSecondBotShared.Static; -using OpenMetaverse; - -namespace BSB.Commands.CMD_Parcel +namespace BSB.Commands.CMD_Parcel { - public class AbandonLand : ParcelCommand_RequirePerms { public override string Helpfile { get { return "Abandons the parcel the bot is currently on, returning it to Linden's or Estate owner"; } } diff --git a/Core/Commands/Parcel/GetParcelDesc.cs b/Core/Commands/Parcel/GetParcelDesc.cs index 493e302..d2c7a4b 100644 --- a/Core/Commands/Parcel/GetParcelDesc.cs +++ b/Core/Commands/Parcel/GetParcelDesc.cs @@ -1,13 +1,5 @@ -using System; -using System.Collections.Generic; -using System.Text; -using BetterSecondBotShared.logs; -using BetterSecondBotShared.Static; -using OpenMetaverse; - -namespace BSB.Commands.CMD_Parcel +namespace BSB.Commands.CMD_Parcel { - public class GetParcelDesc : ParcelCommand_CheckParcel_1arg_smart { public override string Helpfile { get { return "Fetchs the current parcels desc and sends it to the smart reply target on [ARG 1]"; } } diff --git a/Core/Commands/Parcel/GetParcelFlags.cs b/Core/Commands/Parcel/GetParcelFlags.cs index 70827c9..eb9d536 100644 --- a/Core/Commands/Parcel/GetParcelFlags.cs +++ b/Core/Commands/Parcel/GetParcelFlags.cs @@ -1,5 +1,4 @@ -using System; -using System.Collections.Generic; +using System.Collections.Generic; using System.Text; using BetterSecondBotShared.logs; using BetterSecondBotShared.Static; diff --git a/Core/Commands/Parcel/GetParcelName.cs b/Core/Commands/Parcel/GetParcelName.cs index b2ca2a3..f9a80a6 100644 --- a/Core/Commands/Parcel/GetParcelName.cs +++ b/Core/Commands/Parcel/GetParcelName.cs @@ -1,13 +1,5 @@ -using System; -using System.Collections.Generic; -using System.Text; -using BetterSecondBotShared.logs; -using BetterSecondBotShared.Static; -using OpenMetaverse; - -namespace BSB.Commands.CMD_Parcel +namespace BSB.Commands.CMD_Parcel { - public class GetParcelName : ParcelCommand_CheckParcel_1arg_smart { public override string Helpfile { get { return "Fetchs the current parcels name and sends it to the smart reply target on [ARG 1]"; } } diff --git a/Core/Commands/Parcel/ParcelBuy.cs b/Core/Commands/Parcel/ParcelBuy.cs index 2e005cd..c8da391 100644 --- a/Core/Commands/Parcel/ParcelBuy.cs +++ b/Core/Commands/Parcel/ParcelBuy.cs @@ -1,8 +1,4 @@ -using BetterSecondBotShared.Static; -using OpenMetaverse; -using System; -using System.Collections.Generic; -using System.Text; +using OpenMetaverse; namespace BSB.Commands.CMD_Parcel { diff --git a/Core/Commands/Parcel/ParcelCleanAndSell.cs b/Core/Commands/Parcel/ParcelCleanAndSell.cs index 26766cf..507d1e6 100644 --- a/Core/Commands/Parcel/ParcelCleanAndSell.cs +++ b/Core/Commands/Parcel/ParcelCleanAndSell.cs @@ -1,14 +1,10 @@ using System; using System.Collections.Generic; -using System.Text; using System.Threading; -using BetterSecondBotShared.logs; -using BetterSecondBotShared.Static; using OpenMetaverse; namespace BSB.Commands.CMD_Parcel { - public class ParcelCleanAndSell : ParcelCommand_RequirePerms_1arg { public override string[] ArgTypes { get { return new[] { "Number" }; } } diff --git a/Core/Commands/Parcel/ParcelCommandHelper.cs b/Core/Commands/Parcel/ParcelCommandHelper.cs index 822fdf9..2b488f6 100644 --- a/Core/Commands/Parcel/ParcelCommandHelper.cs +++ b/Core/Commands/Parcel/ParcelCommandHelper.cs @@ -1,8 +1,4 @@ -using BSB.Commands; -using OpenMetaverse; -using System; -using System.Collections.Generic; -using System.Text; +using OpenMetaverse; namespace BSB.Commands { diff --git a/Core/Commands/Parcel/ParcelDeedToGroup.cs b/Core/Commands/Parcel/ParcelDeedToGroup.cs index e88ba9d..c52efcb 100644 --- a/Core/Commands/Parcel/ParcelDeedToGroup.cs +++ b/Core/Commands/Parcel/ParcelDeedToGroup.cs @@ -1,5 +1,4 @@ using System.Threading; -using OpenMetaverse; namespace BSB.Commands.CMD_Parcel { diff --git a/Core/Commands/Parcel/ParcelPrimCountTotal.cs b/Core/Commands/Parcel/ParcelPrimCountTotal.cs index 61d89d0..acdca2b 100644 --- a/Core/Commands/Parcel/ParcelPrimCountTotal.cs +++ b/Core/Commands/Parcel/ParcelPrimCountTotal.cs @@ -1,6 +1,5 @@ using OpenMetaverse; using System; -using System.Collections.Generic; using System.Text; namespace BSB.Commands.CMD_Parcel diff --git a/Core/Commands/Parcel/ParcelReturnObjects.cs b/Core/Commands/Parcel/ParcelReturnObjects.cs index 6af3783..120549a 100644 --- a/Core/Commands/Parcel/ParcelReturnObjects.cs +++ b/Core/Commands/Parcel/ParcelReturnObjects.cs @@ -1,7 +1,6 @@ using OpenMetaverse; using System; using System.Collections.Generic; -using System.Text; namespace BSB.Commands.CMD_Parcel { diff --git a/Core/Commands/Parcel/ParcelReturnTargeted.cs b/Core/Commands/Parcel/ParcelReturnTargeted.cs index 7c32cde..068a971 100644 --- a/Core/Commands/Parcel/ParcelReturnTargeted.cs +++ b/Core/Commands/Parcel/ParcelReturnTargeted.cs @@ -1,7 +1,5 @@ using OpenMetaverse; -using System; using System.Collections.Generic; -using System.Text; namespace BSB.Commands.CMD_Parcel { diff --git a/Core/Commands/Parcel/ParcelSetMedia.cs b/Core/Commands/Parcel/ParcelSetMedia.cs index 905928c..af42534 100644 --- a/Core/Commands/Parcel/ParcelSetMedia.cs +++ b/Core/Commands/Parcel/ParcelSetMedia.cs @@ -1,8 +1,5 @@ using BetterSecondBotShared.Static; using OpenMetaverse; -using System; -using System.Collections.Generic; -using System.Text; namespace BSB.Commands.CMD_Parcel { diff --git a/Core/Commands/Parcel/SetParcelDesc.cs b/Core/Commands/Parcel/SetParcelDesc.cs index f7ce12c..f68763f 100644 --- a/Core/Commands/Parcel/SetParcelDesc.cs +++ b/Core/Commands/Parcel/SetParcelDesc.cs @@ -1,13 +1,5 @@ -using System; -using System.Collections.Generic; -using System.Text; -using BetterSecondBotShared.logs; -using BetterSecondBotShared.Static; -using OpenMetaverse; - -namespace BSB.Commands.CMD_Parcel +namespace BSB.Commands.CMD_Parcel { - public class SetParcelDesc : ParcelCommand_RequirePerms_1arg { public override string[] ArgTypes { get { return new[] { "String" }; } } diff --git a/Core/Commands/Parcel/SetParcelFlag.cs b/Core/Commands/Parcel/SetParcelFlag.cs index e4df3ee..b628e0c 100644 --- a/Core/Commands/Parcel/SetParcelFlag.cs +++ b/Core/Commands/Parcel/SetParcelFlag.cs @@ -1,13 +1,11 @@ using System; using System.Collections.Generic; -using System.Text; using BetterSecondBotShared.logs; using BetterSecondBotShared.Static; using OpenMetaverse; namespace BSB.Commands.CMD_Parcel { - public class SetParcelFlag : ParcelCommand_RequirePerms_1arg { public override string[] ArgTypes { get { return new[] { "Text=True|False" }; } } diff --git a/Core/Commands/Parcel/SetParcelMusic.cs b/Core/Commands/Parcel/SetParcelMusic.cs index 6b383f0..be6f3e1 100644 --- a/Core/Commands/Parcel/SetParcelMusic.cs +++ b/Core/Commands/Parcel/SetParcelMusic.cs @@ -1,11 +1,4 @@ -using BetterSecondBotShared.Static; -using BSB.bottypes; -using OpenMetaverse; -using System; -using System.Collections.Generic; -using System.Text; - -namespace BSB.Commands.CMD_Parcel +namespace BSB.Commands.CMD_Parcel { class SetParcelMusic : ParcelCommand_RequirePerms { diff --git a/Core/Commands/Parcel/SetParcelName.cs b/Core/Commands/Parcel/SetParcelName.cs index cda35b4..34a46e1 100644 --- a/Core/Commands/Parcel/SetParcelName.cs +++ b/Core/Commands/Parcel/SetParcelName.cs @@ -1,13 +1,5 @@ -using System; -using System.Collections.Generic; -using System.Text; -using BetterSecondBotShared.logs; -using BetterSecondBotShared.Static; -using OpenMetaverse; - -namespace BSB.Commands.CMD_Parcel +namespace BSB.Commands.CMD_Parcel { - public class SetParcelName : ParcelCommand_RequirePerms_1arg { public override string[] ArgTypes { get { return new[] { "String" }; } } diff --git a/Core/Commands/Parcel/SetParcelSale.cs b/Core/Commands/Parcel/SetParcelSale.cs index 367fd3d..757ec90 100644 --- a/Core/Commands/Parcel/SetParcelSale.cs +++ b/Core/Commands/Parcel/SetParcelSale.cs @@ -1,13 +1,7 @@ -using System; -using System.Collections.Generic; -using System.Text; -using BetterSecondBotShared.logs; -using BetterSecondBotShared.Static; -using OpenMetaverse; +using OpenMetaverse; namespace BSB.Commands.CMD_Parcel { - public class SetParcelSale : ParcelCommand_RequirePerms_1arg { public override string[] ArgTypes { get { return new[] { "Number","Avatar" }; } } diff --git a/Core/Commands/Parcel/eject.cs b/Core/Commands/Parcel/eject.cs index 951548c..18fcf04 100644 --- a/Core/Commands/Parcel/eject.cs +++ b/Core/Commands/Parcel/eject.cs @@ -1,7 +1,4 @@ using OpenMetaverse; -using System; -using System.Collections.Generic; -using System.Text; namespace BSB.Commands.CMD_Parcel { diff --git a/Core/Commands/Script/scriptHttp.cs b/Core/Commands/Script/scriptHttp.cs index 48bcc8e..09dfd91 100644 --- a/Core/Commands/Script/scriptHttp.cs +++ b/Core/Commands/Script/scriptHttp.cs @@ -1,8 +1,5 @@ using System; -using System.Collections.Generic; using System.Linq; -using System.Text; -using BetterSecondBotShared.Static; using OpenMetaverse; using RestSharp; diff --git a/Core/Commands/Script/scriptSend.cs b/Core/Commands/Script/scriptSend.cs index 45b6929..2676afa 100644 --- a/Core/Commands/Script/scriptSend.cs +++ b/Core/Commands/Script/scriptSend.cs @@ -1,7 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Text; -using BetterSecondBotShared.Static; +using BetterSecondBotShared.Static; using OpenMetaverse; namespace BSB.Commands.Script diff --git a/Core/Commands/Self/GetLastCommands.cs b/Core/Commands/Self/GetLastCommands.cs index 17e4aa7..714930b 100644 --- a/Core/Commands/Self/GetLastCommands.cs +++ b/Core/Commands/Self/GetLastCommands.cs @@ -1,6 +1,4 @@ using System; -using System.Collections.Generic; -using System.Text; namespace BSB.Commands.Self { diff --git a/Core/Commands/Self/Help.cs b/Core/Commands/Self/Help.cs index 09ad855..5b98b4a 100644 --- a/Core/Commands/Self/Help.cs +++ b/Core/Commands/Self/Help.cs @@ -1,10 +1,6 @@ -using System; -using System.Collections.Generic; -using System.Text; -using System.Linq; +using System.Text; using OpenMetaverse; - namespace BSB.Commands.Self { public class Help : CoreCommand diff --git a/Core/Commands/Self/addToAnimations.cs b/Core/Commands/Self/addToAnimations.cs index e79d6d5..6b865a7 100644 --- a/Core/Commands/Self/addToAnimations.cs +++ b/Core/Commands/Self/addToAnimations.cs @@ -1,11 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Text; -using System.Linq; -using OpenMetaverse; - - -namespace BSB.Commands.Self +namespace BSB.Commands.Self { public class AddToAllowAnimations : CoreCommand_1arg { diff --git a/Core/Commands/Self/botVersion.cs b/Core/Commands/Self/botVersion.cs index 3d0c600..e1525c2 100644 --- a/Core/Commands/Self/botVersion.cs +++ b/Core/Commands/Self/botVersion.cs @@ -1,10 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Text; -using System.Linq; -using OpenMetaverse; - -namespace BSB.Commands.Self +namespace BSB.Commands.Self { class BotVersion : CoreCommand_SmartReply_1arg { diff --git a/Core/Commands/Self/logout.cs b/Core/Commands/Self/logout.cs index 5ea8ac0..7371092 100644 --- a/Core/Commands/Self/logout.cs +++ b/Core/Commands/Self/logout.cs @@ -1,9 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Text; -using System.Linq; -using OpenMetaverse; - +using OpenMetaverse; namespace BSB.Commands.Self { diff --git a/Core/Commands/Self/pointAt.cs b/Core/Commands/Self/pointAt.cs index 21891af..c1512dc 100644 --- a/Core/Commands/Self/pointAt.cs +++ b/Core/Commands/Self/pointAt.cs @@ -1,9 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Text; -using System.Linq; -using OpenMetaverse; - +using OpenMetaverse; namespace BSB.Commands.Self { diff --git a/Core/Commands/Self/sit.cs b/Core/Commands/Self/sit.cs index 9411540..c8c1bb2 100644 --- a/Core/Commands/Self/sit.cs +++ b/Core/Commands/Self/sit.cs @@ -1,9 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Text; -using System.Linq; -using OpenMetaverse; - +using OpenMetaverse; namespace BSB.Commands.Self { diff --git a/Core/Commands/Self/stand.cs b/Core/Commands/Self/stand.cs index 6d22fd5..12b7009 100644 --- a/Core/Commands/Self/stand.cs +++ b/Core/Commands/Self/stand.cs @@ -1,11 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Text; -using System.Linq; -using OpenMetaverse; - - -namespace BSB.Commands.Self +namespace BSB.Commands.Self { public class Stand : CoreCommand { @@ -17,4 +10,4 @@ namespace BSB.Commands.Self return true; } } -} +} \ No newline at end of file diff --git a/Core/Commands/StreamAdmin/FetchNextNotecard.cs b/Core/Commands/StreamAdmin/FetchNextNotecard.cs index 61eb12b..db50231 100644 --- a/Core/Commands/StreamAdmin/FetchNextNotecard.cs +++ b/Core/Commands/StreamAdmin/FetchNextNotecard.cs @@ -1,7 +1,4 @@ using System; -using System.Collections.Generic; -using System.Text; -using System.Linq; using OpenMetaverse; using BetterSecondBotShared.Static; using RestSharp;