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.
21 lines
370 B
C#
21 lines
370 B
C#
/// @name room-scan-topk
|
|
using System.Linq;
|
|
|
|
Log("Top kinds test start");
|
|
|
|
if (!IsInRoom || Room == null)
|
|
{
|
|
Log("Not in room.");
|
|
}
|
|
else
|
|
{
|
|
var topFloorKinds = FloorItems
|
|
.GroupBy(i => i.Kind)
|
|
.OrderByDescending(g => g.Count())
|
|
.Take(5)
|
|
.ToList();
|
|
|
|
foreach (var g in topFloorKinds)
|
|
Log($"kind {g.Key}: {g.Count()}x");
|
|
}
|