xabbo-scripts/room-scan-starter.csx
Administrator 7bfc390ed6 Initial commit: 68 Xabbo Scripter scripts
Habbo Hotel automation scripts including:
- Game solvers (Snake, Color Puzzle, Tetris, Flappy Bird, Flood-IT)
- Room utilities (Autogate, One-Way Door, Furni Scanner)
- Bot tools (Heal Bot, Pet Trainer, User Collector)
- Trading & economy (Furni-Matic, Seed Trade, Trade Spam)

Cleaned up: removed 5 duplicates and 2 broken scripts,
renamed 37 gibberish filenames to descriptive names.
2026-03-16 09:38:59 +01:00

51 lines
1.1 KiB
C#

using System.Linq;
Log("=== Room Scan Starter ===");
if (!IsInRoom || Room == null)
{
Log("Not in a room. Enter a room and run again.");
}
else
{
Log($"Room: {Room.Name} (ID: {Room.Id})");
Log($"Owner: {Room.OwnerName} ({Room.OwnerId})");
Log($"Users: {Users.Count()} | FloorItems: {FloorItems.Count()} | WallItems: {WallItems.Count()}");
var topFloorKinds = FloorItems
.GroupBy(i => i.Kind)
.OrderByDescending(g => g.Count())
.ThenBy(g => g.Key)
.Take(5)
.ToList();
Log("Top 5 floor kinds:");
if (topFloorKinds.Count == 0)
{
Log("- none");
}
else
{
foreach (var g in topFloorKinds)
Log($"- kind {g.Key}: {g.Count()}x");
}
var topWallKinds = WallItems
.GroupBy(i => i.Kind)
.OrderByDescending(g => g.Count())
.ThenBy(g => g.Key)
.Take(5)
.ToList();
Log("Top 5 wall kinds:");
if (topWallKinds.Count == 0)
{
Log("- none");
}
else
{
foreach (var g in topWallKinds)
Log($"- kind {g.Key}: {g.Count()}x");
}
}