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

16 lines
448 B
C#

var inv = new Xabbo.Core.Tasks
.GetInventoryTask(Interceptor, true)
.Execute(60000, Ct)
.Where(x => x.GetName() == "The Turkish Flag");
foreach (var item in inv) {
if (item.Type == ItemType.Floor) {
var stackTile = FloorItems
.OfKind("tile_stackmagic2")
.First();
Place(item, stackTile.Location);
} else if (item.Type == ItemType.Wall) {
Send(Out.PlaceRoomItem, $"{item.ItemId} :w=0,0 l=0,0 l");
}
Delay(150);
}