Added scripts from C:\Users\ploet\Desktop\Habbo\Xabbo Scripte: - 39 KI/Chatbot scripts (ChatGPT, Gemini, Grok, DeepSeek, Ollama) - Game solvers (Domino, Dodgeball, Obsidian Maze, IceBall) - Collision avoidance bots (5 versions) - Plant/breeding automation (12 scripts) - Trading tools, packet debuggers, room utilities - Navigation & teleport helpers Removed: 9 files (3 empty, 2 trivial, 4 cross-duplicates) Updated README with full categorized index of all 230+ scripts. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
47 lines
907 B
C#
47 lines
907 B
C#
/// @name fridge bot
|
|
|
|
// hides and drops carrot and attempts to get another item
|
|
|
|
using System.Threading.Tasks;
|
|
bool HidingIce = true;
|
|
|
|
var floorItem = FloorItems.Where(x => x.GetName() == "Pura Refrigerator").First();
|
|
|
|
_ = Task.Run(async () => {
|
|
while (Run) {
|
|
if (HidingIce) {
|
|
Send(Out["AvatarExpression"], 6);
|
|
}
|
|
await DelayAsync(100);
|
|
}
|
|
});
|
|
|
|
OnIntercept(In["CarryObject"], e=>
|
|
{
|
|
int userIndex = e.Packet.ReadInt();
|
|
int carrying = e.Packet.ReadInt();
|
|
if(userIndex == Self.Index)
|
|
{
|
|
if(carrying == 3)
|
|
{
|
|
Send(Out["DropCarryItem"]);
|
|
Delay(100);
|
|
HidingIce=false;
|
|
UseFloorItem(floorItem.Id);
|
|
HidingIce=true;
|
|
ShowBubble("Dropped carrot, using fridge id:" + floorItem.Id);
|
|
}
|
|
else
|
|
HidingIce=false;
|
|
}
|
|
});
|
|
|
|
OnIntercept(Out["UseFurniture"], e=>
|
|
{
|
|
if(e.Packet.ReadInt() == floorItem.Id)
|
|
{
|
|
HidingIce=true;
|
|
}
|
|
});
|
|
|
|
Wait(); |