Keeps the repo root clean - only README.md visible on landing page. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
23 lines
872 B
C#
23 lines
872 B
C#
using System.Threading;
|
|
|
|
string furniname = "Pad of Stickies";
|
|
new[] { "NotificationDialog", "FurniListAddOrUpdate", "Achievement", "ItemUpdate", "PostItPlaced", "FurniList", "ItemRemove", "ItemAdd" }
|
|
.ToList().ForEach(e => OnIntercept(In[e], e => e.Block()));
|
|
|
|
while (Run) {
|
|
var invItems = new Xabbo.Core.Tasks.GetInventoryTask(Interceptor, true).Execute(60000, Ct).Where(x => x.GetName() == furniname);
|
|
var roomItems = Furni.GetWallItems().Where(a => a.GetName() == furniname).ToList();
|
|
|
|
Parallel.ForEach(roomItems, item => {
|
|
Send(Out["RemoveItem"], item.Id);
|
|
Thread.Sleep(1);
|
|
});
|
|
|
|
foreach (var item in invItems) {
|
|
Send(Out["PlacePostIt"], item.ItemId, ":w=0,7 l=8,27 l");
|
|
Thread.Sleep(10);
|
|
Send(Out["AddSpamWallPostIt"], item.ItemId, ":w=0,7 l=8,27 l", "FFFF33", "123");
|
|
Thread.Sleep(10);
|
|
}
|
|
}
|