xabbo-scripts/Scripts/placebc.csx
Administrator 7a548130a3 Move all scripts into Scripts/ subfolder
Keeps the repo root clean - only README.md visible on landing page.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-16 09:49:37 +01:00

15 lines
466 B
C#

var catalog = GetBcCatalog();
int[] categoryIds = { catalog.FindNode("Building Blocks").Id };
foreach (int categoryId in categoryIds) {
var page = GetCatalogPage(categoryId);
int i = 0;
foreach (var offer in page.Offers) {
if (i >= 69) break;
Send(Out.BuildersClubPlaceRoomItem, categoryId, offer.Id, "", i % 20 + 1, (i < 40) ? 1 : 2, 0);
Log(offer.GetType().GenericParameterAttributes);
Delay(180);
i++;
}
}