xabbo-scripts/Scripts/ShopSniper.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

18 lines
461 B
C#

var offers = new (string Identifier, int PriceThreshold)[] {
("hween_c22_taintedlamp", 9)
};
while (Run) {
foreach (var offer in offers) {
var info = FurniData[offer.Identifier];
var mpOffer = SearchMarketplace(info.Name)
.OfKind(offer.Identifier)
.FirstOrDefault();
if (mpOffer != null) {
if (mpOffer.Price <= offer.PriceThreshold) {
Send(Out.MarketplaceBuyOffer, (int)mpOffer.Id);
}
}
Delay(400);
}
}